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