Kea 2.7.6
|
Implementation of the Configuration Backend Pool for DHCPv4. More...
#include <config_backend_pool_dhcp4.h>
Public Member Functions | |
virtual void | createUpdateClientClass4 (const db::BackendSelector &backend_selector, const db::ServerSelector &server_selector, const ClientClassDefPtr &client_class, const std::string &follow_class_name) |
Creates or updates DHCPv4 client class. | |
virtual void | createUpdateGlobalParameter4 (const db::BackendSelector &backend_selector, const db::ServerSelector &server_selector, const data::StampedValuePtr &value) |
Creates or updates global string parameter. | |
virtual void | createUpdateOption4 (const db::BackendSelector &backend_selector, const db::ServerSelector &server_selector, const asiolink::IOAddress &pool_start_address, const asiolink::IOAddress &pool_end_address, const OptionDescriptorPtr &option) |
Creates or updates pool level option. | |
virtual void | createUpdateOption4 (const db::BackendSelector &backend_selector, const db::ServerSelector &server_selector, const OptionDescriptorPtr &option) |
Creates or updates global option. | |
virtual void | createUpdateOption4 (const db::BackendSelector &backend_selector, const db::ServerSelector &server_selector, const std::string &shared_network_name, const OptionDescriptorPtr &option) |
Creates or updates shared network level option. | |
virtual void | createUpdateOption4 (const db::BackendSelector &backend_selector, const db::ServerSelector &server_selector, const SubnetID &subnet_id, const OptionDescriptorPtr &option) |
Creates or updates subnet level option. | |
virtual void | createUpdateOptionDef4 (const db::BackendSelector &backend_selector, const db::ServerSelector &server_selector, const OptionDefinitionPtr &option_def) |
Creates or updates an option definition. | |
virtual void | createUpdateServer4 (const db::BackendSelector &backend_selector, const db::ServerPtr &server) |
Creates or updates a server. | |
virtual void | createUpdateSharedNetwork4 (const db::BackendSelector &backend_selector, const db::ServerSelector &server_selector, const SharedNetwork4Ptr &shared_network) |
Creates or updates a shared network. | |
virtual void | createUpdateSubnet4 (const db::BackendSelector &backend_selector, const db::ServerSelector &server_selector, const Subnet4Ptr &subnet) |
Creates or updates a subnet. | |
virtual uint64_t | deleteAllClientClasses4 (const db::BackendSelector &backend_selector, const db::ServerSelector &server_selector) |
Deletes all client classes. | |
virtual uint64_t | deleteAllGlobalParameters4 (const db::BackendSelector &backend_selector, const db::ServerSelector &server_selector) |
Deletes all global parameters. | |
virtual uint64_t | deleteAllOptionDefs4 (const db::BackendSelector &backend_selector, const db::ServerSelector &server_selector) |
Deletes all option definitions. | |
virtual uint64_t | deleteAllServers4 (const db::BackendSelector &backend_selector) |
Deletes all servers from the backend except the logical server 'all'. | |
virtual uint64_t | deleteAllSharedNetworks4 (const db::BackendSelector &backend_selector, const db::ServerSelector &server_selector) |
Deletes all shared networks. | |
virtual uint64_t | deleteAllSubnets4 (const db::BackendSelector &backend_selector, const db::ServerSelector &server_selector) |
Deletes all subnets. | |
virtual uint64_t | deleteClientClass4 (const db::BackendSelector &backend_selector, const db::ServerSelector &server_selector, const std::string &name) |
Deletes DHCPv4 client class. | |
virtual uint64_t | deleteGlobalParameter4 (const db::BackendSelector &backend_selector, const db::ServerSelector &server_selector, const std::string &name) |
Deletes global parameter. | |
virtual uint64_t | deleteOption4 (const db::BackendSelector &backend_selector, 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) |
Deletes pool level option. | |
virtual uint64_t | deleteOption4 (const db::BackendSelector &backend_selector, const db::ServerSelector &server_selector, const std::string &shared_network_name, const uint16_t code, const std::string &space) |
Deletes shared network level option. | |
virtual uint64_t | deleteOption4 (const db::BackendSelector &backend_selector, const db::ServerSelector &server_selector, const SubnetID &subnet_id, const uint16_t code, const std::string &space) |
Deletes subnet level option. | |
virtual uint64_t | deleteOption4 (const db::BackendSelector &backend_selector, const db::ServerSelector &server_selector, const uint16_t code, const std::string &space) |
Deletes global option. | |
virtual uint64_t | deleteOptionDef4 (const db::BackendSelector &backend_selector, const db::ServerSelector &server_selector, const uint16_t code, const std::string &space) |
Deletes option definition. | |
virtual uint64_t | deleteServer4 (const db::BackendSelector &backend_selector, const data::ServerTag &server_tag) |
Deletes a server from the backend. | |
virtual uint64_t | deleteSharedNetwork4 (const db::BackendSelector &backend_selector, const db::ServerSelector &server_selector, const std::string &name) |
Deletes shared network by name. | |
virtual uint64_t | deleteSharedNetworkSubnets4 (const db::BackendSelector &backend_selector, const db::ServerSelector &server_selector, const std::string &shared_network_name) |
Deletes all subnets belonging to a specified shared network. | |
virtual uint64_t | deleteSubnet4 (const db::BackendSelector &backend_selector, const db::ServerSelector &server_selector, const std::string &subnet_prefix) |
Deletes subnet by prefix. | |
virtual uint64_t | deleteSubnet4 (const db::BackendSelector &backend_selector, const db::ServerSelector &server_selector, const SubnetID &subnet_id) |
Deletes subnet by identifier. | |
virtual ClientClassDictionary | getAllClientClasses4 (const db::BackendSelector &backend_selector, const db::ServerSelector &server_selector) const |
Retrieves all client classes. | |
virtual data::StampedValueCollection | getAllGlobalParameters4 (const db::BackendSelector &backend_selector, const db::ServerSelector &server_selector) const |
Retrieves all global parameters. | |
virtual OptionDefContainer | getAllOptionDefs4 (const db::BackendSelector &backend_selector, const db::ServerSelector &server_selector) const |
Retrieves all option definitions. | |
virtual OptionContainer | getAllOptions4 (const db::BackendSelector &backend_selector, const db::ServerSelector &server_selector) const |
Retrieves all global options. | |
virtual db::ServerCollection | getAllServers4 (const db::BackendSelector &backend_selector) const |
Retrieves all servers from the particular backend. | |
virtual SharedNetwork4Collection | getAllSharedNetworks4 (const db::BackendSelector &backend_selector, const db::ServerSelector &server_selector) const |
Retrieves all shared networks. | |
virtual Subnet4Collection | getAllSubnets4 (const db::BackendSelector &backend_selector, const db::ServerSelector &server_selector) const |
Retrieves all subnets. | |
virtual ClientClassDefPtr | getClientClass4 (const db::BackendSelector &backend_selector, const db::ServerSelector &server_selector, const std::string &name) const |
Retrieves a client class by name. | |
virtual data::StampedValuePtr | getGlobalParameter4 (const db::BackendSelector &backend_selector, const db::ServerSelector &server_selector, const std::string &name) const |
Retrieves global parameter value. | |
virtual ClientClassDictionary | getModifiedClientClasses4 (const db::BackendSelector &backend_selector, const db::ServerSelector &server_selector, const boost::posix_time::ptime &modification_time) const |
Retrieves client classes modified after specified time. | |
virtual data::StampedValueCollection | getModifiedGlobalParameters4 (const db::BackendSelector &backend_selector, const db::ServerSelector &server_selector, const boost::posix_time::ptime &modification_time) const |
Retrieves global parameters modified after specified time. | |
virtual OptionDefContainer | getModifiedOptionDefs4 (const db::BackendSelector &backend_selector, const db::ServerSelector &server_selector, const boost::posix_time::ptime &modification_time) const |
Retrieves option definitions modified after specified time. | |
virtual OptionContainer | getModifiedOptions4 (const db::BackendSelector &backend_selector, const db::ServerSelector &server_selector, const boost::posix_time::ptime &modification_time) const |
Retrieves option modified after specified time. | |
virtual SharedNetwork4Collection | getModifiedSharedNetworks4 (const db::BackendSelector &backend_selector, const db::ServerSelector &server_selector, const boost::posix_time::ptime &modification_time) const |
Retrieves shared networks modified after specified time. | |
virtual Subnet4Collection | getModifiedSubnets4 (const db::BackendSelector &backend_selector, const db::ServerSelector &server_selector, const boost::posix_time::ptime &modification_time) const |
Retrieves subnets modified after specified time. | |
virtual OptionDescriptorPtr | getOption4 (const db::BackendSelector &backend_selector, const db::ServerSelector &server_selector, const uint16_t code, const std::string &space) const |
Retrieves single option by code and space. | |
virtual OptionDefinitionPtr | getOptionDef4 (const db::BackendSelector &backend_selector, const db::ServerSelector &server_selector, const uint16_t code, const std::string &space) const |
Retrieves single option definition by code and space. | |
virtual db::AuditEntryCollection | getRecentAuditEntries (const db::BackendSelector &backend_selector, const db::ServerSelector &server_selector, const boost::posix_time::ptime &modification_time, const uint64_t &modification_id) const |
Retrieves the most recent audit entries. | |
virtual db::ServerPtr | getServer4 (const db::BackendSelector &backend_selector, const data::ServerTag &server_tag) const |
Retrieves a server from the particular backend. | |
virtual SharedNetwork4Ptr | getSharedNetwork4 (const db::BackendSelector &backend_selector, const db::ServerSelector &server_selector, const std::string &name) const |
Retrieves shared network by name. | |
virtual Subnet4Collection | getSharedNetworkSubnets4 (const db::BackendSelector &backend_selector, const db::ServerSelector &server_selector, const std::string &shared_network_name) const |
Retrieves all subnets belonging to a specified shared network. | |
virtual Subnet4Ptr | getSubnet4 (const db::BackendSelector &backend_selector, const db::ServerSelector &server_selector, const std::string &subnet_prefix) const |
Retrieves a single subnet by subnet_prefix. | |
virtual Subnet4Ptr | getSubnet4 (const db::BackendSelector &backend_selector, const db::ServerSelector &server_selector, const SubnetID &subnet_id) const |
Retrieves a single subnet by subnet identifier. | |
Public Member Functions inherited from isc::cb::BaseConfigBackendPool< ConfigBackendDHCPv4 > | |
virtual | ~BaseConfigBackendPool () |
Virtual destructor. | |
void | addBackend (ConfigBackendTypePtr backend) |
Adds a backend to the pool. | |
bool | del (const std::string &db_type, const std::string &dbaccess, bool if_unusable) |
Deletes all backends of the given type from the pool. | |
void | delAllBackends () |
Deletes all backends from the pool. | |
void | delAllBackends (const std::string &db_type) |
Deletes all backends of the given type from the pool. | |
Additional Inherited Members | |
Public Types inherited from isc::cb::BaseConfigBackendPool< ConfigBackendDHCPv4 > | |
typedef boost::shared_ptr< ConfigBackendDHCPv4 > | ConfigBackendTypePtr |
Shared pointer to the Configuration Backend used. | |
Protected Member Functions inherited from isc::cb::BaseConfigBackendPool< ConfigBackendDHCPv4 > | |
ReturnValue | createUpdateDeleteBackendProperty (ReturnValue(ConfigBackendDHCPv4::*MethodPointer)(FnPtrArgs...), const db::BackendSelector &backend_selector, Args... input) |
Add, update or delete property from the backend. | |
ReturnValue | createUpdateDeleteProperty (ReturnValue(ConfigBackendDHCPv4::*MethodPointer)(const db::ServerSelector &, FnPtrArgs...), const db::BackendSelector &backend_selector, const db::ServerSelector &server_selector, Args... input) |
Add, update or delete property from the backend. | |
void | getAllBackendPropertiesConst (PropertyCollectionType(ConfigBackendDHCPv4::*MethodPointer)() const, const db::BackendSelector &backend_selector, PropertyCollectionType &properties) const |
Get all configuration properties from the backend. | |
void | getAllPropertiesConst (PropertyCollectionType(ConfigBackendDHCPv4::*MethodPointer)(const db::ServerSelector &) const, const db::BackendSelector &backend_selector, const db::ServerSelector &server_selector, PropertyCollectionType &properties) const |
Retrieve all configuration properties from the pool. | |
void | getBackendPropertyPtrConst (PropertyType(ConfigBackendDHCPv4::*MethodPointer)(FnPtrArgs...) const, const db::BackendSelector &backend_selector, PropertyType &property, Args... input) const |
Retrieve a single configuration property from the backend. | |
void | getMultiplePropertiesConst (PropertyCollectionType(ConfigBackendDHCPv4::*MethodPointer)(const db::ServerSelector &, FnPtrArgs...) const, const db::BackendSelector &backend_selector, const db::ServerSelector &server_selector, PropertyCollectionType &properties, Args... input) const |
Retrieve multiple configuration properties from the pool. | |
void | getPropertyPtrConst (PropertyType(ConfigBackendDHCPv4::*MethodPointer)(const db::ServerSelector &, FnPtrArgs...) const, const db::BackendSelector &backend_selector, const db::ServerSelector &server_selector, PropertyType &property, Args... input) const |
Retrieve a single configuration property from the pool. | |
std::list< ConfigBackendTypePtr > | selectBackends (const db::BackendSelector &backend_selector) const |
Selects existing backends matching the selector. | |
Protected Attributes inherited from isc::cb::BaseConfigBackendPool< ConfigBackendDHCPv4 > | |
std::list< ConfigBackendTypePtr > | backends_ |
Holds configuration backends belonging to the pool. | |
Implementation of the Configuration Backend Pool for DHCPv4.
All POSIX times specified in the methods belonging to this class must be local times.
Definition at line 33 of file config_backend_pool_dhcp4.h.
|
virtual |
Creates or updates DHCPv4 client class.
backend_selector | Backend selector. |
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. |
Definition at line 346 of file config_backend_pool_dhcp4.cc.
References isc::dhcp::ConfigBackendDHCPv4::createUpdateClientClass4(), and isc::cb::BaseConfigBackendPool< ConfigBackendDHCPv4 >::createUpdateDeleteProperty().
|
virtual |
Creates or updates global string parameter.
backend_selector | Backend selector. |
server_selector | Server selector. |
value | Value of the global parameter. |
Definition at line 337 of file config_backend_pool_dhcp4.cc.
References isc::cb::BaseConfigBackendPool< ConfigBackendDHCPv4 >::createUpdateDeleteProperty(), and isc::dhcp::ConfigBackendDHCPv4::createUpdateGlobalParameter4().
|
virtual |
Creates or updates pool level option.
backend_selector | Backend selector. |
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. |
Definition at line 325 of file config_backend_pool_dhcp4.cc.
References isc::cb::BaseConfigBackendPool< ConfigBackendDHCPv4 >::createUpdateDeleteProperty(), and isc::dhcp::ConfigBackendDHCPv4::createUpdateOption4().
|
virtual |
Creates or updates global option.
backend_selector | Backend selector. |
server_selector | Server selector. |
option | Option to be added or updated. |
Definition at line 295 of file config_backend_pool_dhcp4.cc.
References isc::cb::BaseConfigBackendPool< ConfigBackendDHCPv4 >::createUpdateDeleteProperty(), and isc::dhcp::ConfigBackendDHCPv4::createUpdateOption4().
|
virtual |
Creates or updates shared network level option.
backend_selector | Backend selector. |
server_selector | Server selector. |
shared_network_name | Name of a shared network to which option belongs. |
option | Option to be added or updated. |
Definition at line 304 of file config_backend_pool_dhcp4.cc.
References isc::cb::BaseConfigBackendPool< ConfigBackendDHCPv4 >::createUpdateDeleteProperty(), and isc::dhcp::ConfigBackendDHCPv4::createUpdateOption4().
|
virtual |
Creates or updates subnet level option.
backend_selector | Backend selector. |
server_selector | Server selector. |
subnet_id | Identifier of a subnet to which option belongs. |
option | Option to be added or updated. |
Definition at line 315 of file config_backend_pool_dhcp4.cc.
References isc::cb::BaseConfigBackendPool< ConfigBackendDHCPv4 >::createUpdateDeleteProperty(), and isc::dhcp::ConfigBackendDHCPv4::createUpdateOption4().
|
virtual |
Creates or updates an option definition.
backend_selector | Backend selector. |
server_selector | Server selector. |
option_def | Option definition to be added or updated. |
Definition at line 286 of file config_backend_pool_dhcp4.cc.
References isc::cb::BaseConfigBackendPool< ConfigBackendDHCPv4 >::createUpdateDeleteProperty(), and isc::dhcp::ConfigBackendDHCPv4::createUpdateOptionDef4().
|
virtual |
Creates or updates a server.
backend_selector | Backend selector. |
server | Instance of the server to be stored. |
Definition at line 356 of file config_backend_pool_dhcp4.cc.
References isc::cb::BaseConfigBackendPool< ConfigBackendDHCPv4 >::createUpdateDeleteBackendProperty(), and isc::dhcp::ConfigBackendDHCPv4::createUpdateServer4().
|
virtual |
Creates or updates a shared network.
backend_selector | Backend selector. |
server_selector | Server selector. |
shared_network | Shared network to be added or updated. |
Definition at line 277 of file config_backend_pool_dhcp4.cc.
References isc::cb::BaseConfigBackendPool< ConfigBackendDHCPv4 >::createUpdateDeleteProperty(), and isc::dhcp::ConfigBackendDHCPv4::createUpdateSharedNetwork4().
|
virtual |
Creates or updates a subnet.
backend_selector | Backend selector. |
server_selector | Server selector. |
subnet | Subnet to be added or updated. |
Definition at line 268 of file config_backend_pool_dhcp4.cc.
References isc::cb::BaseConfigBackendPool< ConfigBackendDHCPv4 >::createUpdateDeleteProperty(), and isc::dhcp::ConfigBackendDHCPv4::createUpdateSubnet4().
|
virtual |
Deletes all client classes.
backend_selector | Backend selector. |
server_selector | Server selector. |
Definition at line 503 of file config_backend_pool_dhcp4.cc.
References isc::cb::BaseConfigBackendPool< ConfigBackendDHCPv4 >::createUpdateDeleteProperty(), and isc::dhcp::ConfigBackendDHCPv4::deleteAllClientClasses4().
|
virtual |
Deletes all global parameters.
backend_selector | Backend selector. |
server_selector | Server selector. |
Definition at line 486 of file config_backend_pool_dhcp4.cc.
References isc::cb::BaseConfigBackendPool< ConfigBackendDHCPv4 >::createUpdateDeleteProperty(), and isc::dhcp::ConfigBackendDHCPv4::deleteAllGlobalParameters4().
|
virtual |
Deletes all option definitions.
backend_selector | Backend selector. |
server_selector | Server selector. |
Definition at line 424 of file config_backend_pool_dhcp4.cc.
References isc::cb::BaseConfigBackendPool< ConfigBackendDHCPv4 >::createUpdateDeleteProperty(), and isc::dhcp::ConfigBackendDHCPv4::deleteAllOptionDefs4().
|
virtual |
Deletes all servers from the backend except the logical server 'all'.
backend_selector | Backend selector. |
Definition at line 518 of file config_backend_pool_dhcp4.cc.
References isc::cb::BaseConfigBackendPool< ConfigBackendDHCPv4 >::createUpdateDeleteBackendProperty(), and isc::dhcp::ConfigBackendDHCPv4::deleteAllServers4().
|
virtual |
Deletes all shared networks.
backend_selector | Backend selector. |
server_selector | Server selector. |
Definition at line 407 of file config_backend_pool_dhcp4.cc.
References isc::cb::BaseConfigBackendPool< ConfigBackendDHCPv4 >::createUpdateDeleteProperty(), and isc::dhcp::ConfigBackendDHCPv4::deleteAllSharedNetworks4().
|
virtual |
Deletes all subnets.
backend_selector | Backend selector. |
server_selector | Server selector. |
Definition at line 382 of file config_backend_pool_dhcp4.cc.
References isc::cb::BaseConfigBackendPool< ConfigBackendDHCPv4 >::createUpdateDeleteProperty(), and isc::dhcp::ConfigBackendDHCPv4::deleteAllSubnets4().
|
virtual |
Deletes DHCPv4 client class.
backend_selector | Backend selector. |
server_selector | Server selector. |
name | Name of the class to be deleted. |
Definition at line 494 of file config_backend_pool_dhcp4.cc.
References isc::cb::BaseConfigBackendPool< ConfigBackendDHCPv4 >::createUpdateDeleteProperty(), and isc::dhcp::ConfigBackendDHCPv4::deleteClientClass4().
|
virtual |
Deletes global parameter.
backend_selector | Backend selector. |
server_selector | Server selector. |
name | Name of the global parameter to be deleted. |
Definition at line 477 of file config_backend_pool_dhcp4.cc.
References isc::cb::BaseConfigBackendPool< ConfigBackendDHCPv4 >::createUpdateDeleteProperty(), and isc::dhcp::ConfigBackendDHCPv4::deleteGlobalParameter4().
|
virtual |
Deletes pool level option.
backend_selector | Backend selector. |
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. |
Definition at line 464 of file config_backend_pool_dhcp4.cc.
References isc::cb::BaseConfigBackendPool< ConfigBackendDHCPv4 >::createUpdateDeleteProperty(), and isc::dhcp::ConfigBackendDHCPv4::deleteOption4().
|
virtual |
Deletes shared network level option.
backend_selector | Backend selector. |
server_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. |
Definition at line 441 of file config_backend_pool_dhcp4.cc.
References isc::cb::BaseConfigBackendPool< ConfigBackendDHCPv4 >::createUpdateDeleteProperty(), and isc::dhcp::ConfigBackendDHCPv4::deleteOption4().
|
virtual |
Deletes subnet level option.
backend_selector | Backend selector. |
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. |
Definition at line 453 of file config_backend_pool_dhcp4.cc.
References isc::cb::BaseConfigBackendPool< ConfigBackendDHCPv4 >::createUpdateDeleteProperty(), and isc::dhcp::ConfigBackendDHCPv4::deleteOption4().
|
virtual |
Deletes global option.
backend_selector | Backend selector. |
server_selector | Server selector. |
code | Code of the option to be deleted. |
space | Option space of the option to be deleted. |
Definition at line 431 of file config_backend_pool_dhcp4.cc.
References isc::cb::BaseConfigBackendPool< ConfigBackendDHCPv4 >::createUpdateDeleteProperty(), and isc::dhcp::ConfigBackendDHCPv4::deleteOption4().
|
virtual |
Deletes option definition.
backend_selector | Backend selector. |
server_selector | Server selector. |
code | Code of the option to be deleted. |
space | Option space of the option to be deleted. |
Definition at line 414 of file config_backend_pool_dhcp4.cc.
References isc::cb::BaseConfigBackendPool< ConfigBackendDHCPv4 >::createUpdateDeleteProperty(), and isc::dhcp::ConfigBackendDHCPv4::deleteOptionDef4().
|
virtual |
Deletes a server from the backend.
backend_selector | Backend selector. |
server_tag | Tag of the server to be deleted. |
Definition at line 510 of file config_backend_pool_dhcp4.cc.
References isc::cb::BaseConfigBackendPool< ConfigBackendDHCPv4 >::createUpdateDeleteBackendProperty(), and isc::dhcp::ConfigBackendDHCPv4::deleteServer4().
|
virtual |
Deletes shared network by name.
backend_selector | Backend selector. |
server_selector | Server selector. |
name | Name of the shared network to be deleted. |
Definition at line 398 of file config_backend_pool_dhcp4.cc.
References isc::cb::BaseConfigBackendPool< ConfigBackendDHCPv4 >::createUpdateDeleteProperty(), and isc::dhcp::ConfigBackendDHCPv4::deleteSharedNetwork4().
|
virtual |
Deletes all subnets belonging to a specified shared network.
backend_selector | Backend selector. |
server_selector | Server selector. |
shared_network_name | Name of the shared network for which the subnets should be deleted. |
Definition at line 389 of file config_backend_pool_dhcp4.cc.
References isc::cb::BaseConfigBackendPool< ConfigBackendDHCPv4 >::createUpdateDeleteProperty(), and isc::dhcp::ConfigBackendDHCPv4::deleteSharedNetworkSubnets4().
|
virtual |
Deletes subnet by prefix.
backend_selector | Backend selector. |
server_selector | Server selector. |
subnet_prefix | Prefix of the subnet to be deleted. |
Definition at line 364 of file config_backend_pool_dhcp4.cc.
References isc::cb::BaseConfigBackendPool< ConfigBackendDHCPv4 >::createUpdateDeleteProperty(), and isc::dhcp::ConfigBackendDHCPv4::deleteSubnet4().
|
virtual |
Deletes subnet by identifier.
backend_selector | Backend selector. |
server_selector | Server selector. |
subnet_id | Identifier of the subnet to be deleted. |
Definition at line 373 of file config_backend_pool_dhcp4.cc.
References isc::cb::BaseConfigBackendPool< ConfigBackendDHCPv4 >::createUpdateDeleteProperty(), and isc::dhcp::ConfigBackendDHCPv4::deleteSubnet4().
|
virtual |
Retrieves all client classes.
backend_selector | Backend selector. |
server_selector | Server selector. |
Definition at line 215 of file config_backend_pool_dhcp4.cc.
References isc::dhcp::ConfigBackendDHCPv4::getAllClientClasses4(), and isc::cb::BaseConfigBackendPool< ConfigBackendDHCPv4 >::getAllPropertiesConst().
|
virtual |
Retrieves all global parameters.
backend_selector | Backend selector. |
server_selector | Server selector. |
Definition at line 182 of file config_backend_pool_dhcp4.cc.
References isc::dhcp::ConfigBackendDHCPv4::getAllGlobalParameters4(), and isc::cb::BaseConfigBackendPool< ConfigBackendDHCPv4 >::getAllPropertiesConst().
|
virtual |
Retrieves all option definitions.
backend_selector | Backend selector. |
server_selector | Server selector. |
Definition at line 117 of file config_backend_pool_dhcp4.cc.
References isc::dhcp::ConfigBackendDHCPv4::getAllOptionDefs4(), and isc::cb::BaseConfigBackendPool< ConfigBackendDHCPv4 >::getAllPropertiesConst().
|
virtual |
Retrieves all global options.
backend_selector | Backend selector. |
server_selector | Server selector. |
Definition at line 150 of file config_backend_pool_dhcp4.cc.
References isc::dhcp::ConfigBackendDHCPv4::getAllOptions4(), and isc::cb::BaseConfigBackendPool< ConfigBackendDHCPv4 >::getAllPropertiesConst().
|
virtual |
Retrieves all servers from the particular backend.
This method returns the list of servers excluding the logical server 'all'.
backend_selector | Backend selector. |
Definition at line 250 of file config_backend_pool_dhcp4.cc.
References isc::cb::BaseConfigBackendPool< ConfigBackendDHCPv4 >::getAllBackendPropertiesConst(), and isc::dhcp::ConfigBackendDHCPv4::getAllServers4().
|
virtual |
Retrieves all shared networks.
backend_selector | Backend selector. |
server_selector | Server selector. |
Definition at line 83 of file config_backend_pool_dhcp4.cc.
References isc::cb::BaseConfigBackendPool< ConfigBackendDHCPv4 >::getAllPropertiesConst(), and isc::dhcp::ConfigBackendDHCPv4::getAllSharedNetworks4().
|
virtual |
Retrieves all subnets.
backend_selector | Backend selector. |
server_selector | Server selector. |
Definition at line 40 of file config_backend_pool_dhcp4.cc.
References isc::cb::BaseConfigBackendPool< ConfigBackendDHCPv4 >::getAllPropertiesConst(), and isc::dhcp::ConfigBackendDHCPv4::getAllSubnets4().
|
virtual |
Retrieves a client class by name.
backend_selector | Backend selector. |
server_selector | Server selector. |
name | Client class name. |
Definition at line 204 of file config_backend_pool_dhcp4.cc.
References isc::dhcp::ConfigBackendDHCPv4::getClientClass4(), and isc::cb::BaseConfigBackendPool< ConfigBackendDHCPv4 >::getPropertyPtrConst().
|
virtual |
Retrieves global parameter value.
backend_selector | Backend selector. |
server_selector | Server selector. |
name | Name of the global parameter to be retrieved. |
Definition at line 171 of file config_backend_pool_dhcp4.cc.
References isc::dhcp::ConfigBackendDHCPv4::getGlobalParameter4(), and isc::cb::BaseConfigBackendPool< ConfigBackendDHCPv4 >::getPropertyPtrConst().
|
virtual |
Retrieves client classes modified after specified time.
backend_selector | Backend selector. |
server_selector | Server selector. |
modification_time | Modification time. |
Definition at line 226 of file config_backend_pool_dhcp4.cc.
References isc::dhcp::ConfigBackendDHCPv4::getModifiedClientClasses4(), and isc::cb::BaseConfigBackendPool< ConfigBackendDHCPv4 >::getMultiplePropertiesConst().
|
virtual |
Retrieves global parameters modified after specified time.
backend_selector | Backend selector. |
server_selector | Server selector. |
modification_time | Lower bound subnet modification time. |
Definition at line 192 of file config_backend_pool_dhcp4.cc.
References isc::dhcp::ConfigBackendDHCPv4::getModifiedGlobalParameters4(), and isc::cb::BaseConfigBackendPool< ConfigBackendDHCPv4 >::getMultiplePropertiesConst().
|
virtual |
Retrieves option definitions modified after specified time.
backend_selector | Backend selector. |
server_selector | Server selector. |
modification_time | Lower bound option definition modification time. |
Definition at line 127 of file config_backend_pool_dhcp4.cc.
References isc::dhcp::ConfigBackendDHCPv4::getModifiedOptionDefs4(), and isc::cb::BaseConfigBackendPool< ConfigBackendDHCPv4 >::getMultiplePropertiesConst().
|
virtual |
Retrieves option modified after specified time.
backend_selector | Backend selector. |
server_selector | Server selector. |
modification_time | Lower bound option modification time. |
Definition at line 160 of file config_backend_pool_dhcp4.cc.
References isc::dhcp::ConfigBackendDHCPv4::getModifiedOptions4(), and isc::cb::BaseConfigBackendPool< ConfigBackendDHCPv4 >::getMultiplePropertiesConst().
|
virtual |
Retrieves shared networks modified after specified time.
backend_selector | Backend selector. |
server_selector | Server selector. |
modification_time | Lower bound shared network modification time. |
Definition at line 93 of file config_backend_pool_dhcp4.cc.
References isc::dhcp::ConfigBackendDHCPv4::getModifiedSharedNetworks4(), and isc::cb::BaseConfigBackendPool< ConfigBackendDHCPv4 >::getMultiplePropertiesConst().
|
virtual |
Retrieves subnets modified after specified time.
backend_selector | Backend selector. |
server_selector | Server selector. |
modification_time | Lower bound subnet modification time. |
Definition at line 50 of file config_backend_pool_dhcp4.cc.
References isc::dhcp::ConfigBackendDHCPv4::getModifiedSubnets4(), and isc::cb::BaseConfigBackendPool< ConfigBackendDHCPv4 >::getMultiplePropertiesConst().
|
virtual |
Retrieves single option by code and space.
backend_selector | Backend selector. |
server_selector | Server selector. |
code | Option code. |
space | Option space. |
Definition at line 138 of file config_backend_pool_dhcp4.cc.
References isc::dhcp::ConfigBackendDHCPv4::getOption4(), and isc::cb::BaseConfigBackendPool< ConfigBackendDHCPv4 >::getPropertyPtrConst().
|
virtual |
Retrieves single option definition by code and space.
backend_selector | Backend selector. |
server_selector | Server selector. |
code | Code of the option to be retrieved. |
space | Option space of the option to be retrieved. |
Definition at line 105 of file config_backend_pool_dhcp4.cc.
References isc::dhcp::ConfigBackendDHCPv4::getOptionDef4(), and isc::cb::BaseConfigBackendPool< ConfigBackendDHCPv4 >::getPropertyPtrConst().
|
virtual |
Retrieves the most recent audit entries.
backend_selector | Backend selector. |
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. |
Definition at line 237 of file config_backend_pool_dhcp4.cc.
References isc::cb::BaseConfigBackendPool< ConfigBackendDHCPv4 >::getMultiplePropertiesConst(), and isc::dhcp::ConfigBackendDHCPv4::getRecentAuditEntries().
|
virtual |
Retrieves a server from the particular backend.
backend_selector | Backend selector. |
server_tag | Tag of the server to be retrieved. |
Definition at line 258 of file config_backend_pool_dhcp4.cc.
References isc::cb::BaseConfigBackendPool< ConfigBackendDHCPv4 >::getBackendPropertyPtrConst(), and isc::dhcp::ConfigBackendDHCPv4::getServer4().
|
virtual |
Retrieves shared network by name.
backend_selector | Backend selector. |
server_selector | Server selector. |
name | Name of the shared network to be retrieved. |
Definition at line 72 of file config_backend_pool_dhcp4.cc.
References isc::cb::BaseConfigBackendPool< ConfigBackendDHCPv4 >::getPropertyPtrConst(), and isc::dhcp::ConfigBackendDHCPv4::getSharedNetwork4().
|
virtual |
Retrieves all subnets belonging to a specified shared network.
backend_selector | Backend selector. |
server_selector | Server selector. |
shared_network_name | Name of the shared network for which the subnets should be retrieved. |
Definition at line 61 of file config_backend_pool_dhcp4.cc.
References isc::cb::BaseConfigBackendPool< ConfigBackendDHCPv4 >::getMultiplePropertiesConst(), and isc::dhcp::ConfigBackendDHCPv4::getSharedNetworkSubnets4().
|
virtual |
Retrieves a single subnet by subnet_prefix.
backend_selector | Backend selector. |
server_selector | Server selector. |
subnet_prefix | Prefix of the subnet to be retrieved. |
Definition at line 18 of file config_backend_pool_dhcp4.cc.
References isc::cb::BaseConfigBackendPool< ConfigBackendDHCPv4 >::getPropertyPtrConst(), and isc::dhcp::ConfigBackendDHCPv4::getSubnet4().
|
virtual |
Retrieves a single subnet by subnet identifier.
backend_selector | Backend selector. |
server_selector | Server selector. |
subnet_id | Identifier of a subnet to be retrieved. |
Definition at line 29 of file config_backend_pool_dhcp4.cc.
References isc::cb::BaseConfigBackendPool< ConfigBackendDHCPv4 >::getPropertyPtrConst(), and isc::dhcp::ConfigBackendDHCPv4::getSubnet4().