 |
Kea
1.5.0
|
Go to the documentation of this file.
7 #ifndef WRITABLE_HOST_DATA_SOURCE_H
8 #define WRITABLE_HOST_DATA_SOURCE_H
41 const uint8_t* identifier_begin,
42 const size_t identifier_len) = 0;
67 const uint8_t* identifier_begin,
const size_t identifier_len) = 0;
81 const uint8_t* identifier_begin,
const size_t identifier_len) = 0;
106 #endif // WRITABLE_HOST_DATA_SOURCE_H
IdentifierType
Type of the host identifier.
The IOAddress class represents an IP addresses (version agnostic)
boost::shared_ptr< Host > HostPtr
Pointer to the Host object.
virtual ~WritableHostDataSource()
Default destructor implementation.
Defines the logger used by the top-level component of kea-dhcp-ddns.
Interface for retrieving writable host reservations.
virtual HostPtr get6(const SubnetID &subnet_id, const asiolink::IOAddress &address)=0
Returns a host connected to the IPv6 subnet and having a reservation for a specified IPv6 address or ...
virtual HostPtr get6(const SubnetID &subnet_id, const Host::IdentifierType &identifier_type, const uint8_t *identifier_begin, const size_t identifier_len)=0
Returns a host connected to the IPv6 subnet.
virtual HostCollection getAll(const Host::IdentifierType &identifier_type, const uint8_t *identifier_begin, const size_t identifier_len)=0
Non-const version of the getAll const method.
virtual HostPtr get4(const SubnetID &subnet_id, const Host::IdentifierType &identifier_type, const uint8_t *identifier_begin, const size_t identifier_len)=0
Returns a host connected to the IPv4 subnet.
virtual HostCollection getAll4(const asiolink::IOAddress &address)=0
Returns a collection of hosts using the specified IPv4 address.
uint32_t SubnetID
Unique identifier for a subnet (both v4 and v6)
virtual HostPtr get6(const asiolink::IOAddress &prefix, const uint8_t prefix_len)=0
Returns a host using the specified IPv6 prefix.
std::vector< HostPtr > HostCollection
Collection of the Host objects.