Kea 2.7.6
|
Implementation of the Configuration Backend Pool for DHCPv6. More...
#include <config_backend_pool_dhcp6.h>
Public Member Functions | |
virtual void | createUpdateClientClass6 (const db::BackendSelector &backend_selector, const db::ServerSelector &server_selector, const ClientClassDefPtr &client_class, const std::string &follow_class_name) |
Creates or updates DHCPv6 client class. | |
virtual void | createUpdateGlobalParameter6 (const db::BackendSelector &backend_selector, const db::ServerSelector &server_selector, const data::StampedValuePtr &value) |
Creates or updates global string parameter. | |
virtual void | createUpdateOption6 (const db::BackendSelector &backend_selector, const db::ServerSelector &server_selector, const asiolink::IOAddress &pd_pool_prefix, const uint8_t pd_pool_prefix_length, const OptionDescriptorPtr &option) |
Creates or updates prefix delegation pool level option. | |
virtual void | createUpdateOption6 (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 | createUpdateOption6 (const db::BackendSelector &backend_selector, const db::ServerSelector &server_selector, const OptionDescriptorPtr &option) |
Creates or updates global option. | |
virtual void | createUpdateOption6 (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 | createUpdateOption6 (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 | createUpdateOptionDef6 (const db::BackendSelector &backend_selector, const db::ServerSelector &server_selector, const OptionDefinitionPtr &option_def) |
Creates or updates an option definition. | |
virtual void | createUpdateServer6 (const db::BackendSelector &backend_selector, const db::ServerPtr &server) |
Creates or updates a server. | |
virtual void | createUpdateSharedNetwork6 (const db::BackendSelector &backend_selector, const db::ServerSelector &server_selector, const SharedNetwork6Ptr &shared_network) |
Creates or updates a shared network. | |
virtual void | createUpdateSubnet6 (const db::BackendSelector &backend_selector, const db::ServerSelector &server_selector, const Subnet6Ptr &subnet) |
Creates or updates a subnet. | |
virtual uint64_t | deleteAllClientClasses6 (const db::BackendSelector &backend_selector, const db::ServerSelector &server_selector) |
Deletes all client classes. | |
virtual uint64_t | deleteAllGlobalParameters6 (const db::BackendSelector &backend_selector, const db::ServerSelector &server_selector) |
Deletes all global parameters. | |
virtual uint64_t | deleteAllOptionDefs6 (const db::BackendSelector &backend_selector, const db::ServerSelector &server_selector) |
Deletes all option definitions. | |
virtual uint64_t | deleteAllServers6 (const db::BackendSelector &backend_selector) |
Deletes all servers from the backend except the logical server 'all'. | |
virtual uint64_t | deleteAllSharedNetworks6 (const db::BackendSelector &backend_selector, const db::ServerSelector &server_selector) |
Deletes all shared networks. | |
virtual uint64_t | deleteAllSubnets6 (const db::BackendSelector &backend_selector, const db::ServerSelector &server_selector) |
Deletes all subnets. | |
virtual uint64_t | deleteClientClass6 (const db::BackendSelector &backend_selector, const db::ServerSelector &server_selector, const std::string &name) |
Deletes DHCPv6 client class. | |
virtual uint64_t | deleteGlobalParameter6 (const db::BackendSelector &backend_selector, const db::ServerSelector &server_selector, const std::string &name) |
Deletes global parameter. | |
virtual uint64_t | deleteOption6 (const db::BackendSelector &backend_selector, const db::ServerSelector &server_selector, const asiolink::IOAddress &pd_pool_prefix, const uint8_t pd_pool_prefix_length, const uint16_t code, const std::string &space) |
Deletes prefix delegation pool level option. | |
virtual uint64_t | deleteOption6 (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 | deleteOption6 (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 | deleteOption6 (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 | deleteOption6 (const db::BackendSelector &backend_selector, const db::ServerSelector &server_selector, const uint16_t code, const std::string &space) |
Deletes global option. | |
virtual uint64_t | deleteOptionDef6 (const db::BackendSelector &backend_selector, const db::ServerSelector &server_selector, const uint16_t code, const std::string &space) |
Deletes option definition. | |
virtual uint64_t | deleteServer6 (const db::BackendSelector &backend_selector, const data::ServerTag &server_tag) |
Deletes a server from the backend. | |
virtual uint64_t | deleteSharedNetwork6 (const db::BackendSelector &backend_selector, const db::ServerSelector &server_selector, const std::string &name) |
Deletes shared network by name. | |
virtual uint64_t | deleteSharedNetworkSubnets6 (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 | deleteSubnet6 (const db::BackendSelector &backend_selector, const db::ServerSelector &server_selector, const std::string &subnet_prefix) |
Deletes subnet by prefix. | |
virtual uint64_t | deleteSubnet6 (const db::BackendSelector &backend_selector, const db::ServerSelector &server_selector, const SubnetID &subnet_id) |
Deletes subnet by identifier. | |
virtual ClientClassDictionary | getAllClientClasses6 (const db::BackendSelector &backend_selector, const db::ServerSelector &server_selector) const |
Retrieves all client classes. | |
virtual data::StampedValueCollection | getAllGlobalParameters6 (const db::BackendSelector &backend_selector, const db::ServerSelector &server_selector) const |
Retrieves all global parameters. | |
virtual OptionDefContainer | getAllOptionDefs6 (const db::BackendSelector &backend_selector, const db::ServerSelector &server_selector) const |
Retrieves all option definitions. | |
virtual OptionContainer | getAllOptions6 (const db::BackendSelector &backend_selector, const db::ServerSelector &server_selector) const |
Retrieves all global options. | |
virtual db::ServerCollection | getAllServers6 (const db::BackendSelector &backend_selector) const |
Retrieves all servers from the particular backend. | |
virtual SharedNetwork6Collection | getAllSharedNetworks6 (const db::BackendSelector &backend_selector, const db::ServerSelector &server_selector) const |
Retrieves all shared networks. | |
virtual Subnet6Collection | getAllSubnets6 (const db::BackendSelector &backend_selector, const db::ServerSelector &server_selector) const |
Retrieves all subnets. | |
virtual ClientClassDefPtr | getClientClass6 (const db::BackendSelector &backend_selector, const db::ServerSelector &server_selector, const std::string &name) const |
Retrieves a client class by name. | |
virtual data::StampedValuePtr | getGlobalParameter6 (const db::BackendSelector &backend_selector, const db::ServerSelector &server_selector, const std::string &name) const |
Retrieves global parameter value. | |
virtual ClientClassDictionary | getModifiedClientClasses6 (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 | getModifiedGlobalParameters6 (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 | getModifiedOptionDefs6 (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 | getModifiedOptions6 (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 SharedNetwork6Collection | getModifiedSharedNetworks6 (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 Subnet6Collection | getModifiedSubnets6 (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 | getOption6 (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 | getOptionDef6 (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 | getServer6 (const db::BackendSelector &backend_selector, const data::ServerTag &server_tag) const |
Retrieves a server from the particular backend. | |
virtual SharedNetwork6Ptr | getSharedNetwork6 (const db::BackendSelector &backend_selector, const db::ServerSelector &server_selector, const std::string &name) const |
Retrieves shared network by name. | |
virtual Subnet6Collection | getSharedNetworkSubnets6 (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 Subnet6Ptr | getSubnet6 (const db::BackendSelector &backend_selector, const db::ServerSelector &server_selector, const std::string &subnet_prefix) const |
Retrieves a single subnet by subnet_prefix. | |
virtual Subnet6Ptr | getSubnet6 (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< ConfigBackendDHCPv6 > | |
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< ConfigBackendDHCPv6 > | |
typedef boost::shared_ptr< ConfigBackendDHCPv6 > | ConfigBackendTypePtr |
Shared pointer to the Configuration Backend used. | |
Protected Member Functions inherited from isc::cb::BaseConfigBackendPool< ConfigBackendDHCPv6 > | |
ReturnValue | createUpdateDeleteBackendProperty (ReturnValue(ConfigBackendDHCPv6::*MethodPointer)(FnPtrArgs...), const db::BackendSelector &backend_selector, Args... input) |
Add, update or delete property from the backend. | |
ReturnValue | createUpdateDeleteProperty (ReturnValue(ConfigBackendDHCPv6::*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(ConfigBackendDHCPv6::*MethodPointer)() const, const db::BackendSelector &backend_selector, PropertyCollectionType &properties) const |
Get all configuration properties from the backend. | |
void | getAllPropertiesConst (PropertyCollectionType(ConfigBackendDHCPv6::*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(ConfigBackendDHCPv6::*MethodPointer)(FnPtrArgs...) const, const db::BackendSelector &backend_selector, PropertyType &property, Args... input) const |
Retrieve a single configuration property from the backend. | |
void | getMultiplePropertiesConst (PropertyCollectionType(ConfigBackendDHCPv6::*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(ConfigBackendDHCPv6::*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< ConfigBackendDHCPv6 > | |
std::list< ConfigBackendTypePtr > | backends_ |
Holds configuration backends belonging to the pool. | |
Implementation of the Configuration Backend Pool for DHCPv6.
All POSIX times specified in the methods belonging to this class must be local times.
Definition at line 32 of file config_backend_pool_dhcp6.h.
|
virtual |
Creates or updates DHCPv6 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 358 of file config_backend_pool_dhcp6.cc.
References isc::dhcp::ConfigBackendDHCPv6::createUpdateClientClass6(), and isc::cb::BaseConfigBackendPool< ConfigBackendDHCPv6 >::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 349 of file config_backend_pool_dhcp6.cc.
References isc::cb::BaseConfigBackendPool< ConfigBackendDHCPv6 >::createUpdateDeleteProperty(), and isc::dhcp::ConfigBackendDHCPv6::createUpdateGlobalParameter6().
|
virtual |
Creates or updates prefix delegation pool level option.
backend_selector | Backend selector. |
server_selector | Server selector. |
pd_pool_prefix | Address part of the prefix of the prefix delegation pool to which the option belongs. |
pd_pool_prefix_length | Prefix length of the prefix delegation pool to which the option belongs. |
option | Option to be added or updated. |
Definition at line 337 of file config_backend_pool_dhcp6.cc.
References isc::cb::BaseConfigBackendPool< ConfigBackendDHCPv6 >::createUpdateDeleteProperty(), and isc::dhcp::ConfigBackendDHCPv6::createUpdateOption6().
|
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_dhcp6.cc.
References isc::cb::BaseConfigBackendPool< ConfigBackendDHCPv6 >::createUpdateDeleteProperty(), and isc::dhcp::ConfigBackendDHCPv6::createUpdateOption6().
|
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_dhcp6.cc.
References isc::cb::BaseConfigBackendPool< ConfigBackendDHCPv6 >::createUpdateDeleteProperty(), and isc::dhcp::ConfigBackendDHCPv6::createUpdateOption6().
|
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_dhcp6.cc.
References isc::cb::BaseConfigBackendPool< ConfigBackendDHCPv6 >::createUpdateDeleteProperty(), and isc::dhcp::ConfigBackendDHCPv6::createUpdateOption6().
|
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_dhcp6.cc.
References isc::cb::BaseConfigBackendPool< ConfigBackendDHCPv6 >::createUpdateDeleteProperty(), and isc::dhcp::ConfigBackendDHCPv6::createUpdateOption6().
|
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_dhcp6.cc.
References isc::cb::BaseConfigBackendPool< ConfigBackendDHCPv6 >::createUpdateDeleteProperty(), and isc::dhcp::ConfigBackendDHCPv6::createUpdateOptionDef6().
|
virtual |
Creates or updates a server.
backend_selector | Backend selector. |
server | Instance of the server to be stored. |
Definition at line 368 of file config_backend_pool_dhcp6.cc.
References isc::cb::BaseConfigBackendPool< ConfigBackendDHCPv6 >::createUpdateDeleteBackendProperty(), and isc::dhcp::ConfigBackendDHCPv6::createUpdateServer6().
|
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_dhcp6.cc.
References isc::cb::BaseConfigBackendPool< ConfigBackendDHCPv6 >::createUpdateDeleteProperty(), and isc::dhcp::ConfigBackendDHCPv6::createUpdateSharedNetwork6().
|
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_dhcp6.cc.
References isc::cb::BaseConfigBackendPool< ConfigBackendDHCPv6 >::createUpdateDeleteProperty(), and isc::dhcp::ConfigBackendDHCPv6::createUpdateSubnet6().
|
virtual |
Deletes all client classes.
backend_selector | Backend selector. |
server_selector | Server selector. |
Definition at line 528 of file config_backend_pool_dhcp6.cc.
References isc::cb::BaseConfigBackendPool< ConfigBackendDHCPv6 >::createUpdateDeleteProperty(), and isc::dhcp::ConfigBackendDHCPv6::deleteAllClientClasses6().
|
virtual |
Deletes all global parameters.
backend_selector | Backend selector. |
server_selector | Server selector. |
Definition at line 511 of file config_backend_pool_dhcp6.cc.
References isc::cb::BaseConfigBackendPool< ConfigBackendDHCPv6 >::createUpdateDeleteProperty(), and isc::dhcp::ConfigBackendDHCPv6::deleteAllGlobalParameters6().
|
virtual |
Deletes all option definitions.
backend_selector | Backend selector. |
server_selector | Server selector. |
Definition at line 436 of file config_backend_pool_dhcp6.cc.
References isc::cb::BaseConfigBackendPool< ConfigBackendDHCPv6 >::createUpdateDeleteProperty(), and isc::dhcp::ConfigBackendDHCPv6::deleteAllOptionDefs6().
|
virtual |
Deletes all servers from the backend except the logical server 'all'.
backend_selector | Backend selector. |
Definition at line 543 of file config_backend_pool_dhcp6.cc.
References isc::cb::BaseConfigBackendPool< ConfigBackendDHCPv6 >::createUpdateDeleteBackendProperty(), and isc::dhcp::ConfigBackendDHCPv6::deleteAllServers6().
|
virtual |
Deletes all shared networks.
backend_selector | Backend selector. |
server_selector | Server selector. |
Definition at line 419 of file config_backend_pool_dhcp6.cc.
References isc::cb::BaseConfigBackendPool< ConfigBackendDHCPv6 >::createUpdateDeleteProperty(), and isc::dhcp::ConfigBackendDHCPv6::deleteAllSharedNetworks6().
|
virtual |
Deletes all subnets.
backend_selector | Backend selector. |
server_selector | Server selector. |
Definition at line 394 of file config_backend_pool_dhcp6.cc.
References isc::cb::BaseConfigBackendPool< ConfigBackendDHCPv6 >::createUpdateDeleteProperty(), and isc::dhcp::ConfigBackendDHCPv6::deleteAllSubnets6().
|
virtual |
Deletes DHCPv6 client class.
backend_selector | Backend selector. |
server_selector | Server selector. |
name | Name of the class to be deleted. |
Definition at line 519 of file config_backend_pool_dhcp6.cc.
References isc::cb::BaseConfigBackendPool< ConfigBackendDHCPv6 >::createUpdateDeleteProperty(), and isc::dhcp::ConfigBackendDHCPv6::deleteClientClass6().
|
virtual |
Deletes global parameter.
backend_selector | Backend selector. |
server_selector | Server selector. |
name | Name of the global parameter to be deleted. |
Definition at line 502 of file config_backend_pool_dhcp6.cc.
References isc::cb::BaseConfigBackendPool< ConfigBackendDHCPv6 >::createUpdateDeleteProperty(), and isc::dhcp::ConfigBackendDHCPv6::deleteGlobalParameter6().
|
virtual |
Deletes prefix delegation pool level option.
backend_selector | Backend selector. |
server_selector | Server selector. |
pd_pool_prefix | Address part of the prefix of the prefix delegation pool to which the deleted option belongs. |
pd_pool_prefix_length | Prefix length of the prefix delegation pool to which the deleted option belongs. |
code | Code of the deleted option. |
space | Option space of the deleted option. |
Definition at line 489 of file config_backend_pool_dhcp6.cc.
References isc::cb::BaseConfigBackendPool< ConfigBackendDHCPv6 >::createUpdateDeleteProperty(), and isc::dhcp::ConfigBackendDHCPv6::deleteOption6().
|
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 476 of file config_backend_pool_dhcp6.cc.
References isc::cb::BaseConfigBackendPool< ConfigBackendDHCPv6 >::createUpdateDeleteProperty(), and isc::dhcp::ConfigBackendDHCPv6::deleteOption6().
|
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 453 of file config_backend_pool_dhcp6.cc.
References isc::cb::BaseConfigBackendPool< ConfigBackendDHCPv6 >::createUpdateDeleteProperty(), and isc::dhcp::ConfigBackendDHCPv6::deleteOption6().
|
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 465 of file config_backend_pool_dhcp6.cc.
References isc::cb::BaseConfigBackendPool< ConfigBackendDHCPv6 >::createUpdateDeleteProperty(), and isc::dhcp::ConfigBackendDHCPv6::deleteOption6().
|
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 443 of file config_backend_pool_dhcp6.cc.
References isc::cb::BaseConfigBackendPool< ConfigBackendDHCPv6 >::createUpdateDeleteProperty(), and isc::dhcp::ConfigBackendDHCPv6::deleteOption6().
|
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 426 of file config_backend_pool_dhcp6.cc.
References isc::cb::BaseConfigBackendPool< ConfigBackendDHCPv6 >::createUpdateDeleteProperty(), and isc::dhcp::ConfigBackendDHCPv6::deleteOptionDef6().
|
virtual |
Deletes a server from the backend.
backend_selector | Backend selector. |
server_tag | Tag of the server to be deleted. |
Definition at line 535 of file config_backend_pool_dhcp6.cc.
References isc::cb::BaseConfigBackendPool< ConfigBackendDHCPv6 >::createUpdateDeleteBackendProperty(), and isc::dhcp::ConfigBackendDHCPv6::deleteServer6().
|
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 410 of file config_backend_pool_dhcp6.cc.
References isc::cb::BaseConfigBackendPool< ConfigBackendDHCPv6 >::createUpdateDeleteProperty(), and isc::dhcp::ConfigBackendDHCPv6::deleteSharedNetwork6().
|
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 401 of file config_backend_pool_dhcp6.cc.
References isc::cb::BaseConfigBackendPool< ConfigBackendDHCPv6 >::createUpdateDeleteProperty(), and isc::dhcp::ConfigBackendDHCPv6::deleteSharedNetworkSubnets6().
|
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 376 of file config_backend_pool_dhcp6.cc.
References isc::cb::BaseConfigBackendPool< ConfigBackendDHCPv6 >::createUpdateDeleteProperty(), and isc::dhcp::ConfigBackendDHCPv6::deleteSubnet6().
|
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 385 of file config_backend_pool_dhcp6.cc.
References isc::cb::BaseConfigBackendPool< ConfigBackendDHCPv6 >::createUpdateDeleteProperty(), and isc::dhcp::ConfigBackendDHCPv6::deleteSubnet6().
|
virtual |
Retrieves all client classes.
backend_selector | Backend selector. |
server_selector | Server selector. |
Definition at line 215 of file config_backend_pool_dhcp6.cc.
References isc::dhcp::ConfigBackendDHCPv6::getAllClientClasses6(), and isc::cb::BaseConfigBackendPool< ConfigBackendDHCPv6 >::getAllPropertiesConst().
|
virtual |
Retrieves all global parameters.
backend_selector | Backend selector. |
server_selector | Server selector. |
Definition at line 182 of file config_backend_pool_dhcp6.cc.
References isc::dhcp::ConfigBackendDHCPv6::getAllGlobalParameters6(), and isc::cb::BaseConfigBackendPool< ConfigBackendDHCPv6 >::getAllPropertiesConst().
|
virtual |
Retrieves all option definitions.
backend_selector | Backend selector. |
server_selector | Server selector. |
Definition at line 117 of file config_backend_pool_dhcp6.cc.
References isc::dhcp::ConfigBackendDHCPv6::getAllOptionDefs6(), and isc::cb::BaseConfigBackendPool< ConfigBackendDHCPv6 >::getAllPropertiesConst().
|
virtual |
Retrieves all global options.
backend_selector | Backend selector. |
server_selector | Server selector. |
Definition at line 150 of file config_backend_pool_dhcp6.cc.
References isc::dhcp::ConfigBackendDHCPv6::getAllOptions6(), and isc::cb::BaseConfigBackendPool< ConfigBackendDHCPv6 >::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_dhcp6.cc.
References isc::cb::BaseConfigBackendPool< ConfigBackendDHCPv6 >::getAllBackendPropertiesConst(), and isc::dhcp::ConfigBackendDHCPv6::getAllServers6().
|
virtual |
Retrieves all shared networks.
backend_selector | Backend selector. |
server_selector | Server selector. |
Definition at line 83 of file config_backend_pool_dhcp6.cc.
References isc::cb::BaseConfigBackendPool< ConfigBackendDHCPv6 >::getAllPropertiesConst(), and isc::dhcp::ConfigBackendDHCPv6::getAllSharedNetworks6().
|
virtual |
Retrieves all subnets.
backend_selector | Backend selector. |
server_selector | Server selector. |
Definition at line 40 of file config_backend_pool_dhcp6.cc.
References isc::cb::BaseConfigBackendPool< ConfigBackendDHCPv6 >::getAllPropertiesConst(), and isc::dhcp::ConfigBackendDHCPv6::getAllSubnets6().
|
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_dhcp6.cc.
References isc::dhcp::ConfigBackendDHCPv6::getClientClass6(), and isc::cb::BaseConfigBackendPool< ConfigBackendDHCPv6 >::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_dhcp6.cc.
References isc::dhcp::ConfigBackendDHCPv6::getGlobalParameter6(), and isc::cb::BaseConfigBackendPool< ConfigBackendDHCPv6 >::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_dhcp6.cc.
References isc::dhcp::ConfigBackendDHCPv6::getModifiedClientClasses6(), and isc::cb::BaseConfigBackendPool< ConfigBackendDHCPv6 >::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_dhcp6.cc.
References isc::dhcp::ConfigBackendDHCPv6::getModifiedGlobalParameters6(), and isc::cb::BaseConfigBackendPool< ConfigBackendDHCPv6 >::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_dhcp6.cc.
References isc::dhcp::ConfigBackendDHCPv6::getModifiedOptionDefs6(), and isc::cb::BaseConfigBackendPool< ConfigBackendDHCPv6 >::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_dhcp6.cc.
References isc::dhcp::ConfigBackendDHCPv6::getModifiedOptions6(), and isc::cb::BaseConfigBackendPool< ConfigBackendDHCPv6 >::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_dhcp6.cc.
References isc::dhcp::ConfigBackendDHCPv6::getModifiedSharedNetworks6(), and isc::cb::BaseConfigBackendPool< ConfigBackendDHCPv6 >::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_dhcp6.cc.
References isc::dhcp::ConfigBackendDHCPv6::getModifiedSubnets6(), and isc::cb::BaseConfigBackendPool< ConfigBackendDHCPv6 >::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_dhcp6.cc.
References isc::dhcp::ConfigBackendDHCPv6::getOption6(), and isc::cb::BaseConfigBackendPool< ConfigBackendDHCPv6 >::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_dhcp6.cc.
References isc::dhcp::ConfigBackendDHCPv6::getOptionDef6(), and isc::cb::BaseConfigBackendPool< ConfigBackendDHCPv6 >::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_dhcp6.cc.
References isc::cb::BaseConfigBackendPool< ConfigBackendDHCPv6 >::getMultiplePropertiesConst(), and isc::dhcp::ConfigBackendDHCPv6::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_dhcp6.cc.
References isc::cb::BaseConfigBackendPool< ConfigBackendDHCPv6 >::getBackendPropertyPtrConst(), and isc::dhcp::ConfigBackendDHCPv6::getServer6().
|
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_dhcp6.cc.
References isc::cb::BaseConfigBackendPool< ConfigBackendDHCPv6 >::getPropertyPtrConst(), and isc::dhcp::ConfigBackendDHCPv6::getSharedNetwork6().
|
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_dhcp6.cc.
References isc::cb::BaseConfigBackendPool< ConfigBackendDHCPv6 >::getMultiplePropertiesConst(), and isc::dhcp::ConfigBackendDHCPv6::getSharedNetworkSubnets6().
|
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_dhcp6.cc.
References isc::cb::BaseConfigBackendPool< ConfigBackendDHCPv6 >::getPropertyPtrConst(), and isc::dhcp::ConfigBackendDHCPv6::getSubnet6().
|
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_dhcp6.cc.
References isc::cb::BaseConfigBackendPool< ConfigBackendDHCPv6 >::getPropertyPtrConst(), and isc::dhcp::ConfigBackendDHCPv6::getSubnet6().