7#ifndef CSV_LEASE_FILE6_H
8#define CSV_LEASE_FILE6_H
52 virtual void open(
const bool seek_to_end =
false);
The IOAddress class represents an IP addresses (version agnostic)
Provides methods to access CSV file with DHCPv6 leases.
bool next(Lease6Ptr &lease)
Reads next lease from the CSV file.
void append(const Lease6 &lease)
Appends the lease record to the CSV file.
virtual void open(const bool seek_to_end=false)
Opens a lease file.
CSVLeaseFile6(const std::string &filename)
Constructor.
Provides statistics for leases.
Represents a single row of the CSV file.
A template representing an optional value.
Implements a CSV file that supports multiple versions of the file's "schema".
boost::shared_ptr< const Element > ConstElementPtr
boost::shared_ptr< DUID > DuidPtr
boost::shared_ptr< Lease6 > Lease6Ptr
Pointer to a Lease6 structure.
boost::shared_ptr< HWAddr > HWAddrPtr
Shared pointer to a hardware address structure.
uint32_t SubnetID
Defines unique IPv4 or IPv6 subnet identifier.
Defines the logger used by the top-level component of kea-lfc.
Structure that holds a lease for IPv6 address and/or prefix.
Type
Type of lease or pool.