Kea 2.7.6
|
Interface implemented by DHCPv4 configuration backends. More...
#include <config_backend_dhcp4.h>
Public Member Functions | |
virtual | ~ConfigBackendDHCPv4 () |
Virtual destructor. | |
virtual void | createUpdateClientClass4 (const db::ServerSelector &server_selector, const ClientClassDefPtr &client_class, const std::string &follow_class_name)=0 |
Creates or updates DHCPv4 client class. | |
virtual void | createUpdateGlobalParameter4 (const db::ServerSelector &server_selector, const data::StampedValuePtr &value)=0 |
Creates or updates global parameter. | |
virtual void | createUpdateOption4 (const db::ServerSelector &selector, const std::string &shared_network_name, const OptionDescriptorPtr &option)=0 |
Creates or updates shared network level option. | |
virtual void | createUpdateOption4 (const db::ServerSelector &server_selector, const asiolink::IOAddress &pool_start_address, const asiolink::IOAddress &pool_end_address, const OptionDescriptorPtr &option)=0 |
Creates or updates pool level option. | |
virtual void | createUpdateOption4 (const db::ServerSelector &server_selector, const OptionDescriptorPtr &option)=0 |
Creates or updates global option. | |
virtual void | createUpdateOption4 (const db::ServerSelector &server_selector, const SubnetID &subnet_id, const OptionDescriptorPtr &option)=0 |
Creates or updates subnet level option. | |
virtual void | createUpdateOptionDef4 (const db::ServerSelector &server_selector, const OptionDefinitionPtr &option_def)=0 |
Creates or updates an option definition. | |
virtual void | createUpdateServer4 (const db::ServerPtr &server)=0 |
Creates or updates a server. | |
virtual void | createUpdateSharedNetwork4 (const db::ServerSelector &server_selector, const SharedNetwork4Ptr &shared_network)=0 |
Creates or updates a shared network. | |
virtual void | createUpdateSubnet4 (const db::ServerSelector &server_selector, const Subnet4Ptr &subnet)=0 |
Creates or updates a subnet. | |
virtual uint64_t | deleteAllClientClasses4 (const db::ServerSelector &server_selector)=0 |
Deletes all client classes. | |
virtual uint64_t | deleteAllGlobalParameters4 (const db::ServerSelector &server_selector)=0 |
Deletes all global parameters. | |
virtual uint64_t | deleteAllOptionDefs4 (const db::ServerSelector &server_selector)=0 |
Deletes all option definitions. | |
virtual uint64_t | deleteAllServers4 ()=0 |
Deletes all servers from the backend except the logical server 'all'. | |
virtual uint64_t | deleteAllSharedNetworks4 (const db::ServerSelector &server_selector)=0 |
Deletes all shared networks. | |
virtual uint64_t | deleteAllSubnets4 (const db::ServerSelector &server_selector)=0 |
Deletes all subnets. | |
virtual uint64_t | deleteClientClass4 (const db::ServerSelector &server_selector, const std::string &name)=0 |
Deletes DHCPv4 client class. | |
virtual uint64_t | deleteGlobalParameter4 (const db::ServerSelector &server_selector, const std::string &name)=0 |
Deletes global parameter. | |
virtual uint64_t | deleteOption4 (const db::ServerSelector &selector, const std::string &shared_network_name, const uint16_t code, const std::string &space)=0 |
Deletes shared network level option. | |
virtual uint64_t | deleteOption4 (const db::ServerSelector &server_selector, const asiolink::IOAddress &pool_start_address, const asiolink::IOAddress &pool_end_address, const uint16_t code, const std::string &space)=0 |
Deletes pool level option. | |
virtual uint64_t | deleteOption4 (const db::ServerSelector &server_selector, const SubnetID &subnet_id, const uint16_t code, const std::string &space)=0 |
Deletes subnet level option. | |
virtual uint64_t | deleteOption4 (const db::ServerSelector &server_selector, const uint16_t code, const std::string &space)=0 |
Deletes global option. | |
virtual uint64_t | deleteOptionDef4 (const db::ServerSelector &server_selector, const uint16_t code, const std::string &space)=0 |
Deletes option definition. | |
virtual uint64_t | deleteServer4 (const data::ServerTag &server_tag)=0 |
Deletes a server from the backend. | |
virtual uint64_t | deleteSharedNetwork4 (const db::ServerSelector &server_selector, const std::string &name)=0 |
Deletes shared network by name. | |
virtual uint64_t | deleteSharedNetworkSubnets4 (const db::ServerSelector &server_selector, const std::string &shared_network_name)=0 |
Deletes all subnets belonging to a specified shared network. | |
virtual uint64_t | deleteSubnet4 (const db::ServerSelector &server_selector, const std::string &subnet_prefix)=0 |
Deletes subnet by prefix. | |
virtual uint64_t | deleteSubnet4 (const db::ServerSelector &server_selector, const SubnetID &subnet_id)=0 |
Deletes subnet by identifier. | |
virtual ClientClassDictionary | getAllClientClasses4 (const db::ServerSelector &selector) const =0 |
Retrieves all client classes. | |
virtual data::StampedValueCollection | getAllGlobalParameters4 (const db::ServerSelector &selector) const =0 |
Retrieves all global parameters. | |
virtual OptionDefContainer | getAllOptionDefs4 (const db::ServerSelector &server_selector) const =0 |
Retrieves all option definitions. | |
virtual OptionContainer | getAllOptions4 (const db::ServerSelector &server_selector) const =0 |
Retrieves all global options. | |
virtual db::ServerCollection | getAllServers4 () const =0 |
Retrieves all servers. | |
virtual SharedNetwork4Collection | getAllSharedNetworks4 (const db::ServerSelector &server_selector) const =0 |
Retrieves all shared networks. | |
virtual Subnet4Collection | getAllSubnets4 (const db::ServerSelector &server_selector) const =0 |
Retrieves all subnets. | |
virtual ClientClassDefPtr | getClientClass4 (const db::ServerSelector &selector, const std::string &name) const =0 |
Retrieves a client class by name. | |
virtual data::StampedValuePtr | getGlobalParameter4 (const db::ServerSelector &selector, const std::string &name) const =0 |
Retrieves global parameter value. | |
virtual ClientClassDictionary | getModifiedClientClasses4 (const db::ServerSelector &selector, const boost::posix_time::ptime &modification_time) const =0 |
Retrieves client classes modified after specified time. | |
virtual data::StampedValueCollection | getModifiedGlobalParameters4 (const db::ServerSelector &selector, const boost::posix_time::ptime &modification_time) const =0 |
Retrieves global parameters modified after specified time. | |
virtual OptionDefContainer | getModifiedOptionDefs4 (const db::ServerSelector &server_selector, const boost::posix_time::ptime &modification_time) const =0 |
Retrieves option definitions modified after specified time. | |
virtual OptionContainer | getModifiedOptions4 (const db::ServerSelector &selector, const boost::posix_time::ptime &modification_time) const =0 |
Retrieves options modified after specified time. | |
virtual SharedNetwork4Collection | getModifiedSharedNetworks4 (const db::ServerSelector &server_selector, const boost::posix_time::ptime &modification_time) const =0 |
Retrieves shared networks modified after specified time. | |
virtual Subnet4Collection | getModifiedSubnets4 (const db::ServerSelector &server_selector, const boost::posix_time::ptime &modification_time) const =0 |
Retrieves subnets modified after specified time. | |
virtual OptionDescriptorPtr | getOption4 (const db::ServerSelector &server_selector, const uint16_t code, const std::string &space) const =0 |
Retrieves single option by code and space. | |
virtual OptionDefinitionPtr | getOptionDef4 (const db::ServerSelector &server_selector, const uint16_t code, const std::string &space) const =0 |
Retrieves single option definition by code and space. | |
virtual db::AuditEntryCollection | getRecentAuditEntries (const db::ServerSelector &server_selector, const boost::posix_time::ptime &modification_time, const uint64_t &modification_id) const =0 |
Retrieves the most recent audit entries. | |
virtual db::ServerPtr | getServer4 (const data::ServerTag &server_tag) const =0 |
Retrieves a server. | |
virtual SharedNetwork4Ptr | getSharedNetwork4 (const db::ServerSelector &server_selector, const std::string &name) const =0 |
Retrieves shared network by name. | |
virtual Subnet4Collection | getSharedNetworkSubnets4 (const db::ServerSelector &server_selector, const std::string &shared_network_name) const =0 |
Retrieves all subnets belonging to a specified shared network. | |
virtual Subnet4Ptr | getSubnet4 (const db::ServerSelector &server_selector, const std::string &subnet_prefix) const =0 |
Retrieves a single subnet by subnet_prefix. | |
virtual Subnet4Ptr | getSubnet4 (const db::ServerSelector &server_selector, const SubnetID &subnet_id) const =0 |
Retrieves a single subnet by subnet identifier. | |
Public Member Functions inherited from isc::cb::BaseConfigBackend | |
virtual | ~BaseConfigBackend () |
Virtual destructor. | |
virtual std::string | getHost () const =0 |
Returns backend host. | |
virtual isc::db::DatabaseConnection::ParameterMap | getParameters () const |
Return backend parameters. | |
virtual uint16_t | getPort () const =0 |
Returns backend port number. | |
virtual std::string | getType () const =0 |
Returns backend type in the textual format. | |
virtual bool | isUnusable () |
Flag which indicates if the config backend has an unusable connection. | |
Interface implemented by DHCPv4 configuration backends.
All POSIX times specified in the methods belonging to this class must be local times.
Below, we describe the general rules of using the server selectors when creating, updating, fetching and deleting the configuration elements from the backends. The detailed information can be found in the descriptions of the individual methods. The backend implementations must not be in conflict with the rules described here but may sometimes lack some functionality and not support some of the server selectors for some API calls. In such cases the backend's documentation should be clear about these cases and document the exceptions thrown when unsupported selector is used for a given method.
The ServerSelector
class defines 5 types of selectors:
There are limitations imposed on the API calls what server selectors are allowed for them. Configuration Backend implementations must not be in conflict with those limitations. In particular, the implementation must not permit for server selectors which are not allowed here. However, the backend implementation may be more restrictive and not allow some of the server selectors for some API calls. This should, however, be properly documented.
Definition at line 86 of file config_backend_dhcp4.h.
|
inlinevirtual |
Virtual destructor.
Definition at line 90 of file config_backend_dhcp4.h.
|
pure virtual |
Creates or updates DHCPv4 client class.
server_selector | Server selector. |
client_class | Client class to be added or updated. |
follow_class_name | name of the class after which the new or updated class should be positioned. An empty value causes the class to be appended at the end of the class hierarchy. |
Referenced by isc::dhcp::ConfigBackendPoolDHCPv4::createUpdateClientClass4().
|
pure virtual |
Creates or updates global parameter.
Allowed server selectors: ALL, ONE. Not allowed server selectors: ANY, UNASSIGNED, MULTIPLE.
server_selector | Server selector. |
value | Value of the global parameter. |
Referenced by isc::dhcp::ConfigBackendPoolDHCPv4::createUpdateGlobalParameter4().
|
pure virtual |
Creates or updates shared network level option.
Allowed server selector: ANY. Not allowed server selectors: UNASSIGNED, ALL, ONE, MULTIPLE.
selector | Server selector. |
shared_network_name | Name of a shared network to which option belongs. |
option | Option to be added or updated. |
|
pure virtual |
Creates or updates pool level option.
Allowed server selector: ANY. Not allowed server selectors: UNASSIGNED, ALL, ONE, MULTIPLE.
server_selector | Server selector. |
pool_start_address | Lower bound address of the pool to which the option belongs. |
pool_end_address | Upper bound address of the pool to which the option belongs. |
option | Option to be added or updated. |
|
pure virtual |
Creates or updates global option.
Allowed server selectors: ALL, ONE. Not allowed server selectors: ANY, UNASSIGNED, MULTIPLE.
server_selector | Server selector. |
option | Option to be added or updated. |
Referenced by isc::dhcp::ConfigBackendPoolDHCPv4::createUpdateOption4(), isc::dhcp::ConfigBackendPoolDHCPv4::createUpdateOption4(), isc::dhcp::ConfigBackendPoolDHCPv4::createUpdateOption4(), and isc::dhcp::ConfigBackendPoolDHCPv4::createUpdateOption4().
|
pure virtual |
Creates or updates subnet level option.
Allowed server selector: ANY. Not allowed server selectors: UNASSIGNED, ALL, ONE, MULTIPLE.
server_selector | Server selector. |
subnet_id | Identifier of a subnet to which option belongs. |
option | Option to be added or updated. |
|
pure virtual |
Creates or updates an option definition.
Allowed server selectors: ALL, ONE. Not allowed server selectors: ANY, UNASSIGNED, MULTIPLE.
server_selector | Server selector. |
option_def | Option definition to be added or updated. |
Referenced by isc::dhcp::ConfigBackendPoolDHCPv4::createUpdateOptionDef4().
|
pure virtual |
Creates or updates a server.
server | Instance of the server to be stored. |
Referenced by isc::dhcp::ConfigBackendPoolDHCPv4::createUpdateServer4().
|
pure virtual |
Creates or updates a shared network.
Allowed server selectors: UNASSIGNED, ALL, ONE, MULTIPLE. Not allowed server selector: ANY.
server_selector | Server selector. |
shared_network | Shared network to be added or updated. |
Referenced by isc::dhcp::ConfigBackendPoolDHCPv4::createUpdateSharedNetwork4().
|
pure virtual |
Creates or updates a subnet.
Allowed server selectors: UNASSIGNED, ALL, ONE, MULTIPLE. Not allowed server selector: ANY.
server_selector | Server selector. |
subnet | Subnet to be added or updated. |
Referenced by isc::dhcp::ConfigBackendPoolDHCPv4::createUpdateSubnet4().
|
pure virtual |
Deletes all client classes.
server_selector | Server selector. |
Referenced by isc::dhcp::ConfigBackendPoolDHCPv4::deleteAllClientClasses4().
|
pure virtual |
Deletes all global parameters.
Allowed server selectors: ALL, ONE. Not allowed server selectors: ANY, UNASSIGNED, MULTIPLE.
server_selector | Server selector. |
Referenced by isc::dhcp::ConfigBackendPoolDHCPv4::deleteAllGlobalParameters4().
|
pure virtual |
Deletes all option definitions.
Allowed server selectors: ALL, ONE. Not allowed server selectors: ANY, UNASSIGNED, MULTIPLE.
server_selector | Server selector. |
Referenced by isc::dhcp::ConfigBackendPoolDHCPv4::deleteAllOptionDefs4().
|
pure virtual |
Deletes all servers from the backend except the logical server 'all'.
Referenced by isc::dhcp::ConfigBackendPoolDHCPv4::deleteAllServers4().
|
pure virtual |
Deletes all shared networks.
Allowed server selectors: UNASSIGNED, ALL, ONE. Not allowed server selectors: ANY, MULTIPLE.
server_selector | Server selector. |
Referenced by isc::dhcp::ConfigBackendPoolDHCPv4::deleteAllSharedNetworks4().
|
pure virtual |
Deletes all subnets.
Allowed server selectors: UNASSIGNED, ALL, ONE. Not allowed server selectors: ANY, MULTIPLE.
server_selector | Server selector. |
Referenced by isc::dhcp::ConfigBackendPoolDHCPv4::deleteAllSubnets4().
|
pure virtual |
Deletes DHCPv4 client class.
server_selector | Server selector. |
name | Name of the class to be deleted. |
Referenced by isc::dhcp::ConfigBackendPoolDHCPv4::deleteClientClass4().
|
pure virtual |
Deletes global parameter.
Allowed server selectors: ALL, ONE. Not allowed server selectors: ANY, UNASSIGNED, MULTIPLE.
server_selector | Server selector. |
name | Name of the global parameter to be deleted. |
Referenced by isc::dhcp::ConfigBackendPoolDHCPv4::deleteGlobalParameter4().
|
pure virtual |
Deletes shared network level option.
Allowed server selector: ANY. Not allowed server selectors: UNASSIGNED, ALL, ONE, MULTIPLE.
selector | Server selector. |
shared_network_name | Name of the shared network which option belongs to. |
code | Code of the option to be deleted. |
space | Option space of the option to be deleted. |
|
pure virtual |
Deletes pool level option.
Allowed server selector: ANY. Not allowed server selectors: UNASSIGNED, ALL, ONE, MULTIPLE.
server_selector | Server selector. |
pool_start_address | Lower bound address of the pool to which deleted option belongs. |
pool_end_address | Upper bound address of the pool to which the deleted option belongs. |
code | Code of the deleted option. |
space | Option space of the deleted option. |
|
pure virtual |
Deletes subnet level option.
Allowed server selector: ANY. Not allowed server selectors: UNASSIGNED, ALL, ONE, MULTIPLE.
server_selector | Server selector. |
subnet_id | Identifier of the subnet to which deleted option belongs. |
code | Code of the deleted option. |
space | Option space of the deleted option. |
|
pure virtual |
Deletes global option.
Allowed server selectors: ALL, ONE. Not allowed server selectors: ANY, UNASSIGNED, MULTIPLE.
server_selector | Server selector. |
code | Code of the option to be deleted. |
space | Option space of the option to be deleted. |
Referenced by isc::dhcp::ConfigBackendPoolDHCPv4::deleteOption4(), isc::dhcp::ConfigBackendPoolDHCPv4::deleteOption4(), isc::dhcp::ConfigBackendPoolDHCPv4::deleteOption4(), and isc::dhcp::ConfigBackendPoolDHCPv4::deleteOption4().
|
pure virtual |
Deletes option definition.
Allowed server selectors: ALL, ONE. Not allowed server selectors: ANY, UNASSIGNED, MULTIPLE.
server_selector | Server selector. |
code | Code of the option to be deleted. |
space | Option space of the option to be deleted. |
Referenced by isc::dhcp::ConfigBackendPoolDHCPv4::deleteOptionDef4().
|
pure virtual |
Deletes a server from the backend.
server_tag | Tag of the server to be deleted. |
Referenced by isc::dhcp::ConfigBackendPoolDHCPv4::deleteServer4().
|
pure virtual |
Deletes shared network by name.
Allowed server selectors: ANY, UNASSIGNED, ALL, ONE. Not allowed server selector: MULTIPLE.
server_selector | Server selector. |
name | Name of the shared network to be deleted. |
Referenced by isc::dhcp::ConfigBackendPoolDHCPv4::deleteSharedNetwork4().
|
pure virtual |
Deletes all subnets belonging to a specified shared network.
Allowed server selector: ANY. Not allowed server selectors: UNASSIGNED, ALL, ONE, MULTIPLE.
server_selector | Server selector. |
shared_network_name | Name of the shared network for which the deleted subnets should belongs to. |
Referenced by isc::dhcp::ConfigBackendPoolDHCPv4::deleteSharedNetworkSubnets4().
|
pure virtual |
Deletes subnet by prefix.
Allowed server selectors: ANY, UNASSIGNED, ALL, ONE. Not allowed server selector: MULTIPLE.
server_selector | Server selector. |
subnet_prefix | Prefix of the subnet to be deleted. |
Referenced by isc::dhcp::ConfigBackendPoolDHCPv4::deleteSubnet4(), and isc::dhcp::ConfigBackendPoolDHCPv4::deleteSubnet4().
|
pure virtual |
Deletes subnet by identifier.
Allowed server selectors: ANY, UNASSIGNED, ALL, ONE. Not allowed server selector: MULTIPLE.
server_selector | Server selector. |
subnet_id | Identifier of the subnet to be deleted. |
|
pure virtual |
Retrieves all client classes.
selector | Server selector. |
Referenced by isc::dhcp::ConfigBackendPoolDHCPv4::getAllClientClasses4().
|
pure virtual |
Retrieves all global parameters.
Allowed server selectors: ALL, ONE, MULTIPLE. Not allowed server selectors: ANY, UNASSIGNED.
selector | Server selector. |
Referenced by isc::dhcp::ConfigBackendPoolDHCPv4::getAllGlobalParameters4().
|
pure virtual |
Retrieves all option definitions.
Allowed server selectors: ALL, ONE, MULTIPLE. Not allowed server selectors: ANY, UNASSIGNED.
server_selector | Server selector. |
Referenced by isc::dhcp::ConfigBackendPoolDHCPv4::getAllOptionDefs4().
|
pure virtual |
Retrieves all global options.
Allowed server selectors: ALL, ONE, MULTIPLE. Not allowed server selectors: ANY, UNASSIGNED.
server_selector | Server selector. |
Referenced by isc::dhcp::ConfigBackendPoolDHCPv4::getAllOptions4().
|
pure virtual |
Retrieves all servers.
This method returns the list of servers excluding the logical server 'all'.
Referenced by isc::dhcp::ConfigBackendPoolDHCPv4::getAllServers4().
|
pure virtual |
Retrieves all shared networks.
Allowed server selectors: UNASSIGNED, ALL, ONE, MULTIPLE. Not allowed server selector: ANY.
server_selector | Server selector. |
Referenced by isc::dhcp::ConfigBackendPoolDHCPv4::getAllSharedNetworks4().
|
pure virtual |
Retrieves all subnets.
Allowed server selectors: UNASSIGNED, ALL, ONE, MULTIPLE. Not allowed server selector: ANY.
server_selector | Server selector. |
Referenced by isc::dhcp::ConfigBackendPoolDHCPv4::getAllSubnets4().
|
pure virtual |
Retrieves a client class by name.
selector | Server selector. |
name | Client class name. |
Referenced by isc::dhcp::ConfigBackendPoolDHCPv4::getClientClass4().
|
pure virtual |
Retrieves global parameter value.
Allowed server selectors: ALL, ONE. Not allowed server selectors: ANY, UNASSIGNED, MULTIPLE.
selector | Server selector. |
name | Name of the global parameter to be retrieved. |
Referenced by isc::dhcp::ConfigBackendPoolDHCPv4::getGlobalParameter4().
|
pure virtual |
Retrieves client classes modified after specified time.
selector | Server selector. |
modification_time | Modification time. |
Referenced by isc::dhcp::ConfigBackendPoolDHCPv4::getModifiedClientClasses4().
|
pure virtual |
Retrieves global parameters modified after specified time.
Allowed server selectors: ALL, ONE, MULTIPLE. Not allowed server selectors: ANY, UNASSIGNED.
selector | Server selector. |
modification_time | Modification time. |
Referenced by isc::dhcp::ConfigBackendPoolDHCPv4::getModifiedGlobalParameters4().
|
pure virtual |
Retrieves option definitions modified after specified time.
Allowed server selectors: ALL, ONE, MULTIPLE. Not allowed server selectors: ANY, UNASSIGNED.
server_selector | Server selector. |
modification_time | Lower bound option definition modification time. |
Referenced by isc::dhcp::ConfigBackendPoolDHCPv4::getModifiedOptionDefs4().
|
pure virtual |
Retrieves options modified after specified time.
Allowed server selectors: ALL, ONE, MULTIPLE. Not allowed server selectors: ANY, UNASSIGNED.
selector | Server selector. |
modification_time | Lower bound option modification time. |
Referenced by isc::dhcp::ConfigBackendPoolDHCPv4::getModifiedOptions4().
|
pure virtual |
Retrieves shared networks modified after specified time.
Allowed server selectors: UNASSIGNED, ALL, ONE, MULTIPLE. Not allowed server selector: ANY.
server_selector | Server selector. |
modification_time | Lower bound shared network modification time. |
Referenced by isc::dhcp::ConfigBackendPoolDHCPv4::getModifiedSharedNetworks4().
|
pure virtual |
Retrieves subnets modified after specified time.
Allowed server selectors: UNASSIGNED, ALL, ONE, MULTIPLE. Not allowed server selector: ANY.
server_selector | Server selector. |
modification_time | Lower bound subnet modification time. |
Referenced by isc::dhcp::ConfigBackendPoolDHCPv4::getModifiedSubnets4().
|
pure virtual |
Retrieves single option by code and space.
Allowed server selectors: ALL, ONE. Not allowed server selectors: ANY, UNASSIGNED, MULTIPLE.
Referenced by isc::dhcp::ConfigBackendPoolDHCPv4::getOption4().
|
pure virtual |
Retrieves single option definition by code and space.
Allowed server selectors: ALL, ONE. Not allowed server selectors: ANY, UNASSIGNED, MULTIPLE.
server_selector | Server selector. |
code | Code of the option to be retrieved. |
space | Option space of the option to be retrieved. |
Referenced by isc::dhcp::ConfigBackendPoolDHCPv4::getOptionDef4().
|
pure virtual |
Retrieves the most recent audit entries.
Allowed server selectors: ALL, ONE. Not allowed server selectors: ANY, UNASSIGNED, MULTIPLE.
server_selector | Server selector. |
modification_time | Timestamp being a lower limit for the returned result set, i.e. entries later than specified time are returned. |
modification_id | Identifier being a lower limit for the returned result set, used when two (or more) entries have the same modification_time. |
Referenced by isc::dhcp::ConfigBackendPoolDHCPv4::getRecentAuditEntries().
|
pure virtual |
Retrieves a server.
server_tag | Tag of the server to be retrieved. |
Referenced by isc::dhcp::ConfigBackendPoolDHCPv4::getServer4().
|
pure virtual |
Retrieves shared network by name.
Allowed server selectors: ANY, UNASSIGNED, ALL, ONE. Not allowed server selector: MULTIPLE.
server_selector | Server selector. |
name | Name of the shared network to be retrieved. |
Referenced by isc::dhcp::ConfigBackendPoolDHCPv4::getSharedNetwork4().
|
pure virtual |
Retrieves all subnets belonging to a specified shared network.
Allowed server selector: ANY. Not allowed server selectors: UNASSIGNED, ALL, ONE, MULTIPLE.
server_selector | Server selector. |
shared_network_name | Name of the shared network for which the retrieved subnets should belongs to. |
Referenced by isc::dhcp::ConfigBackendPoolDHCPv4::getSharedNetworkSubnets4().
|
pure virtual |
Retrieves a single subnet by subnet_prefix.
Allowed server selectors: ANY, UNASSIGNED, ALL, ONE. Not allowed server selector: MULTIPLE.
server_selector | Server selector. |
subnet_prefix | Prefix of the subnet to be retrieved. |
Referenced by isc::dhcp::ConfigBackendPoolDHCPv4::getSubnet4(), and isc::dhcp::ConfigBackendPoolDHCPv4::getSubnet4().
|
pure virtual |
Retrieves a single subnet by subnet identifier.
Allowed server selectors: ANY, UNASSIGNED, ALL, ONE. Not allowed server selector: MULTIPLE.
server_selector | Server selector. |
subnet_id | Identifier of a subnet to be retrieved. |