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