Kea  1.9.9-git
isc::dhcp::ConfigBackendPoolDHCPv6 Class Reference

Implementation of the Configuration Backend Pool for DHCPv6. More...

#include <config_backend_pool_dhcp6.h>

+ Inheritance diagram for isc::dhcp::ConfigBackendPoolDHCPv6:

Public Member Functions

virtual void createUpdateGlobalParameter6 (const db::BackendSelector &backend_selector, const db::ServerSelector &server_selector, const data::StampedValuePtr &value)
 Creates or updates global string parameter. More...
 
virtual void createUpdateOption6 (const db::BackendSelector &backend_selector, const db::ServerSelector &server_selector, const OptionDescriptorPtr &option)
 Creates or updates global option. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
virtual void createUpdateOptionDef6 (const db::BackendSelector &backend_selector, const db::ServerSelector &server_selector, const OptionDefinitionPtr &option_def)
 Creates or updates an option definition. More...
 
virtual void createUpdateServer6 (const db::BackendSelector &backend_selector, const db::ServerPtr &server)
 Creates or updates a server. More...
 
virtual void createUpdateSharedNetwork6 (const db::BackendSelector &backend_selector, const db::ServerSelector &server_selector, const SharedNetwork6Ptr &shared_network)
 Creates or updates a shared network. More...
 
virtual void createUpdateSubnet6 (const db::BackendSelector &backend_selector, const db::ServerSelector &server_selector, const Subnet6Ptr &subnet)
 Creates or updates a subnet. More...
 
virtual uint64_t deleteAllGlobalParameters6 (const db::BackendSelector &backend_selector, const db::ServerSelector &server_selector)
 Deletes all global parameters. More...
 
virtual uint64_t deleteAllOptionDefs6 (const db::BackendSelector &backend_selector, const db::ServerSelector &server_selector)
 Deletes all option definitions. More...
 
virtual uint64_t deleteAllServers6 (const db::BackendSelector &backend_selector)
 Deletes all servers from the backend except the logical server 'all'. More...
 
virtual uint64_t deleteAllSharedNetworks6 (const db::BackendSelector &backend_selector, const db::ServerSelector &server_selector)
 Deletes all shared networks. More...
 
virtual uint64_t deleteAllSubnets6 (const db::BackendSelector &backend_selector, const db::ServerSelector &server_selector)
 Deletes all subnets. More...
 
virtual uint64_t deleteGlobalParameter6 (const db::BackendSelector &backend_selector, const db::ServerSelector &server_selector, const std::string &name)
 Deletes global parameter. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
virtual uint64_t deleteServer6 (const db::BackendSelector &backend_selector, const data::ServerTag &server_tag)
 Deletes a server from the backend. More...
 
virtual uint64_t deleteSharedNetwork6 (const db::BackendSelector &backend_selector, const db::ServerSelector &server_selector, const std::string &name)
 Deletes shared network by name. More...
 
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. More...
 
virtual uint64_t deleteSubnet6 (const db::BackendSelector &backend_selector, const db::ServerSelector &server_selector, const std::string &subnet_prefix)
 Deletes subnet by prefix. More...
 
virtual uint64_t deleteSubnet6 (const db::BackendSelector &backend_selector, const db::ServerSelector &server_selector, const SubnetID &subnet_id)
 Deletes subnet by identifier. More...
 
virtual data::StampedValueCollection getAllGlobalParameters6 (const db::BackendSelector &backend_selector, const db::ServerSelector &server_selector) const
 Retrieves all global parameters. More...
 
virtual OptionDefContainer getAllOptionDefs6 (const db::BackendSelector &backend_selector, const db::ServerSelector &server_selector) const
 Retrieves all option definitions. More...
 
virtual OptionContainer getAllOptions6 (const db::BackendSelector &backend_selector, const db::ServerSelector &server_selector) const
 Retrieves all global options. More...
 
virtual db::ServerCollection getAllServers6 (const db::BackendSelector &backend_selector) const
 Retrieves all servers from the particular backend. More...
 
virtual SharedNetwork6Collection getAllSharedNetworks6 (const db::BackendSelector &backend_selector, const db::ServerSelector &server_selector) const
 Retrieves all shared networks. More...
 
virtual Subnet6Collection getAllSubnets6 (const db::BackendSelector &backend_selector, const db::ServerSelector &server_selector) const
 Retrieves all subnets. More...
 
virtual data::StampedValuePtr getGlobalParameter6 (const db::BackendSelector &backend_selector, const db::ServerSelector &server_selector, const std::string &name) const
 Retrieves global parameter value. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
virtual db::ServerPtr getServer6 (const db::BackendSelector &backend_selector, const data::ServerTag &server_tag) const
 Retrieves a server from the particular backend. More...
 
virtual SharedNetwork6Ptr getSharedNetwork6 (const db::BackendSelector &backend_selector, const db::ServerSelector &server_selector, const std::string &name) const
 Retrieves shared network by name. More...
 
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. More...
 
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. More...
 
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. More...
 
- Public Member Functions inherited from isc::cb::BaseConfigBackendPool< ConfigBackendDHCPv6 >
virtual ~BaseConfigBackendPool ()
 Virtual destructor. More...
 
void addBackend (ConfigBackendTypePtr backend)
 Adds a backend to the pool. More...
 
bool del (const std::string &db_type, const std::string &dbaccess, bool if_unusable)
 Deletes all backends of the given type from the pool. More...
 
void delAllBackends ()
 Deletes all backends from the pool. More...
 
void delAllBackends (const std::string &db_type)
 Deletes all backends of the given type from the pool. More...
 

Additional Inherited Members

- Public Types inherited from isc::cb::BaseConfigBackendPool< ConfigBackendDHCPv6 >
typedef boost::shared_ptr< ConfigBackendDHCPv6 > ConfigBackendTypePtr
 Shared pointer to the Configuration Backend used. More...
 
- 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. More...
 
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. More...
 
void getAllBackendPropertiesConst (PropertyCollectionType(ConfigBackendDHCPv6::*MethodPointer)() const, const db::BackendSelector &backend_selector, PropertyCollectionType &properties) const
 Get all configuration properties from the backend. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
std::list< ConfigBackendTypePtrselectBackends (const db::BackendSelector &backend_selector) const
 Selects existing backends matching the selector. More...
 
- Protected Attributes inherited from isc::cb::BaseConfigBackendPool< ConfigBackendDHCPv6 >
std::list< ConfigBackendTypePtrbackends_
 Holds configuration backends belonging to the pool. More...
 

Detailed Description

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 31 of file config_backend_pool_dhcp6.h.

Member Function Documentation

void isc::dhcp::ConfigBackendPoolDHCPv6::createUpdateGlobalParameter6 ( const db::BackendSelector backend_selector,
const db::ServerSelector server_selector,
const data::StampedValuePtr value 
)
virtual

Creates or updates global string parameter.

Parameters
backend_selectorBackend selector.
server_selectorServer selector.
valueValue of the global parameter.

Definition at line 316 of file config_backend_pool_dhcp6.cc.

void isc::dhcp::ConfigBackendPoolDHCPv6::createUpdateOption6 ( const db::BackendSelector backend_selector,
const db::ServerSelector server_selector,
const OptionDescriptorPtr option 
)
virtual

Creates or updates global option.

Parameters
backend_selectorBackend selector.
server_selectorServer selector.
optionOption to be added or updated.

Definition at line 262 of file config_backend_pool_dhcp6.cc.

void isc::dhcp::ConfigBackendPoolDHCPv6::createUpdateOption6 ( const db::BackendSelector backend_selector,
const db::ServerSelector server_selector,
const std::string &  shared_network_name,
const OptionDescriptorPtr option 
)
virtual

Creates or updates shared network level option.

Parameters
backend_selectorBackend selector.
server_selectorServer selector.
shared_network_nameName of a shared network to which option belongs.
optionOption to be added or updated.

Definition at line 271 of file config_backend_pool_dhcp6.cc.

void isc::dhcp::ConfigBackendPoolDHCPv6::createUpdateOption6 ( const db::BackendSelector backend_selector,
const db::ServerSelector server_selector,
const SubnetID subnet_id,
const OptionDescriptorPtr option 
)
virtual

Creates or updates subnet level option.

Parameters
backend_selectorBackend selector.
server_selectorServer selector.
subnet_idIdentifier of a subnet to which option belongs.
optionOption to be added or updated.

Definition at line 282 of file config_backend_pool_dhcp6.cc.

void isc::dhcp::ConfigBackendPoolDHCPv6::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 
)
virtual

Creates or updates pool level option.

Parameters
backend_selectorBackend selector.
server_selectorServer selector.
pool_start_addressLower bound address of the pool to which the option belongs.
pool_end_addressUpper bound address of the pool to which the option belongs.
optionOption to be added or updated.

Definition at line 292 of file config_backend_pool_dhcp6.cc.

void isc::dhcp::ConfigBackendPoolDHCPv6::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 
)
virtual

Creates or updates prefix delegation pool level option.

Parameters
backend_selectorBackend selector.
server_selectorServer selector.
pd_pool_prefixAddress part of the prefix of the prefix delegation pool to which the option belongs.
pd_pool_prefix_lengthPrefix length of the prefix delegation pool to which the option belongs.
optionOption to be added or updated.

Definition at line 304 of file config_backend_pool_dhcp6.cc.

void isc::dhcp::ConfigBackendPoolDHCPv6::createUpdateOptionDef6 ( const db::BackendSelector backend_selector,
const db::ServerSelector server_selector,
const OptionDefinitionPtr option_def 
)
virtual

Creates or updates an option definition.

Parameters
backend_selectorBackend selector.
server_selectorServer selector.
option_defOption definition to be added or updated.

Definition at line 253 of file config_backend_pool_dhcp6.cc.

void isc::dhcp::ConfigBackendPoolDHCPv6::createUpdateServer6 ( const db::BackendSelector backend_selector,
const db::ServerPtr server 
)
virtual

Creates or updates a server.

Parameters
backend_selectorBackend selector.
serverInstance of the server to be stored.

Definition at line 325 of file config_backend_pool_dhcp6.cc.

void isc::dhcp::ConfigBackendPoolDHCPv6::createUpdateSharedNetwork6 ( const db::BackendSelector backend_selector,
const db::ServerSelector server_selector,
const SharedNetwork6Ptr shared_network 
)
virtual

Creates or updates a shared network.

Parameters
backend_selectorBackend selector.
server_selectorServer selector.
shared_networkShared network to be added or updated.

Definition at line 244 of file config_backend_pool_dhcp6.cc.

void isc::dhcp::ConfigBackendPoolDHCPv6::createUpdateSubnet6 ( const db::BackendSelector backend_selector,
const db::ServerSelector server_selector,
const Subnet6Ptr subnet 
)
virtual

Creates or updates a subnet.

Parameters
backend_selectorBackend selector.
server_selectorServer selector.
subnetSubnet to be added or updated.

Definition at line 235 of file config_backend_pool_dhcp6.cc.

uint64_t isc::dhcp::ConfigBackendPoolDHCPv6::deleteAllGlobalParameters6 ( const db::BackendSelector backend_selector,
const db::ServerSelector server_selector 
)
virtual

Deletes all global parameters.

Parameters
backend_selectorBackend selector.
server_selectorServer selector.
Returns
Number of deleted global parameters.

Definition at line 468 of file config_backend_pool_dhcp6.cc.

uint64_t isc::dhcp::ConfigBackendPoolDHCPv6::deleteAllOptionDefs6 ( const db::BackendSelector backend_selector,
const db::ServerSelector server_selector 
)
virtual

Deletes all option definitions.

Parameters
backend_selectorBackend selector.
server_selectorServer selector.
Returns
Number of deleted option definitions.

Definition at line 393 of file config_backend_pool_dhcp6.cc.

uint64_t isc::dhcp::ConfigBackendPoolDHCPv6::deleteAllServers6 ( const db::BackendSelector backend_selector)
virtual

Deletes all servers from the backend except the logical server 'all'.

Parameters
backend_selectorBackend selector.
Returns
Number of deleted servers.

Definition at line 484 of file config_backend_pool_dhcp6.cc.

uint64_t isc::dhcp::ConfigBackendPoolDHCPv6::deleteAllSharedNetworks6 ( const db::BackendSelector backend_selector,
const db::ServerSelector server_selector 
)
virtual

Deletes all shared networks.

Parameters
backend_selectorBackend selector.
server_selectorServer selector.
Returns
Number of deleted shared networks.

Definition at line 376 of file config_backend_pool_dhcp6.cc.

uint64_t isc::dhcp::ConfigBackendPoolDHCPv6::deleteAllSubnets6 ( const db::BackendSelector backend_selector,
const db::ServerSelector server_selector 
)
virtual

Deletes all subnets.

Parameters
backend_selectorBackend selector.
server_selectorServer selector.
Returns
Number of deleted subnets.

Definition at line 351 of file config_backend_pool_dhcp6.cc.

uint64_t isc::dhcp::ConfigBackendPoolDHCPv6::deleteGlobalParameter6 ( const db::BackendSelector backend_selector,
const db::ServerSelector server_selector,
const std::string &  name 
)
virtual

Deletes global parameter.

Parameters
backend_selectorBackend selector.
server_selectorServer selector.
nameName of the global parameter to be deleted.
Returns
Number of deleted global parameters.

Definition at line 459 of file config_backend_pool_dhcp6.cc.

uint64_t isc::dhcp::ConfigBackendPoolDHCPv6::deleteOption6 ( const db::BackendSelector backend_selector,
const db::ServerSelector server_selector,
const uint16_t  code,
const std::string &  space 
)
virtual

Deletes global option.

Parameters
backend_selectorBackend selector.
server_selectorServer selector.
codeCode of the option to be deleted.
spaceOption space of the option to be deleted.
Returns
Number of deleted options.

Definition at line 400 of file config_backend_pool_dhcp6.cc.

uint64_t isc::dhcp::ConfigBackendPoolDHCPv6::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 
)
virtual

Deletes shared network level option.

Parameters
backend_selectorBackend selector.
server_selectorServer selector.
shared_network_nameName of the shared network which option belongs to.
codeCode of the option to be deleted.
spaceOption space of the option to be deleted.

Definition at line 410 of file config_backend_pool_dhcp6.cc.

uint64_t isc::dhcp::ConfigBackendPoolDHCPv6::deleteOption6 ( const db::BackendSelector backend_selector,
const db::ServerSelector server_selector,
const SubnetID subnet_id,
const uint16_t  code,
const std::string &  space 
)
virtual

Deletes subnet level option.

Parameters
backend_selectorBackend selector.
server_selectorServer selector.
subnet_idIdentifier of the subnet to which deleted option belongs.
codeCode of the deleted option.
spaceOption space of the deleted option.
Returns
Number of deleted options.

Definition at line 422 of file config_backend_pool_dhcp6.cc.

uint64_t isc::dhcp::ConfigBackendPoolDHCPv6::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 
)
virtual

Deletes pool level option.

Parameters
backend_selectorBackend selector.
server_selectorServer selector.
pool_start_addressLower bound address of the pool to which deleted option belongs.
pool_end_addressUpper bound address of the pool to which the deleted option belongs.
codeCode of the deleted option.
spaceOption space of the deleted option.
Returns
Number of deleted options.

Definition at line 433 of file config_backend_pool_dhcp6.cc.

uint64_t isc::dhcp::ConfigBackendPoolDHCPv6::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 
)
virtual

Deletes prefix delegation pool level option.

Parameters
backend_selectorBackend selector.
server_selectorServer selector.
pd_pool_prefixAddress part of the prefix of the prefix delegation pool to which the deleted option belongs.
pd_pool_prefix_lengthPrefix length of the prefix delegation pool to which the deleted option belongs.
codeCode of the deleted option.
spaceOption space of the deleted option.
Returns
Number of deleted options.

Definition at line 446 of file config_backend_pool_dhcp6.cc.

uint64_t isc::dhcp::ConfigBackendPoolDHCPv6::deleteOptionDef6 ( const db::BackendSelector backend_selector,
const db::ServerSelector server_selector,
const uint16_t  code,
const std::string &  space 
)
virtual

Deletes option definition.

Parameters
backend_selectorBackend selector.
server_selectorServer selector.
codeCode of the option to be deleted.
spaceOption space of the option to be deleted.
Returns
Number of deleted option definitions.

Definition at line 383 of file config_backend_pool_dhcp6.cc.

uint64_t isc::dhcp::ConfigBackendPoolDHCPv6::deleteServer6 ( const db::BackendSelector backend_selector,
const data::ServerTag server_tag 
)
virtual

Deletes a server from the backend.

Parameters
backend_selectorBackend selector.
server_tagTag of the server to be deleted.
Returns
Number of deleted servers.

Definition at line 476 of file config_backend_pool_dhcp6.cc.

uint64_t isc::dhcp::ConfigBackendPoolDHCPv6::deleteSharedNetwork6 ( const db::BackendSelector backend_selector,
const db::ServerSelector server_selector,
const std::string &  name 
)
virtual

Deletes shared network by name.

Parameters
backend_selectorBackend selector.
server_selectorServer selector.
nameName of the shared network to be deleted.
Returns
Number of deleted shared networks.

Definition at line 367 of file config_backend_pool_dhcp6.cc.

uint64_t isc::dhcp::ConfigBackendPoolDHCPv6::deleteSharedNetworkSubnets6 ( const db::BackendSelector backend_selector,
const db::ServerSelector server_selector,
const std::string &  shared_network_name 
)
virtual

Deletes all subnets belonging to a specified shared network.

Parameters
backend_selectorBackend selector.
server_selectorServer selector.
shared_network_nameName of the shared network for which the subnets should be deleted.
Returns
Number of deleted subnets.

Definition at line 358 of file config_backend_pool_dhcp6.cc.

uint64_t isc::dhcp::ConfigBackendPoolDHCPv6::deleteSubnet6 ( const db::BackendSelector backend_selector,
const db::ServerSelector server_selector,
const std::string &  subnet_prefix 
)
virtual

Deletes subnet by prefix.

Parameters
backend_selectorBackend selector.
server_selectorServer selector.
subnet_prefixPrefix of the subnet to be deleted.
Returns
Number of deleted subnets.

Definition at line 333 of file config_backend_pool_dhcp6.cc.

uint64_t isc::dhcp::ConfigBackendPoolDHCPv6::deleteSubnet6 ( const db::BackendSelector backend_selector,
const db::ServerSelector server_selector,
const SubnetID subnet_id 
)
virtual

Deletes subnet by identifier.

Parameters
backend_selectorBackend selector.
server_selectorServer selector.
subnet_idIdentifier of the subnet to be deleted.
Returns
Number of deleted subnets.

Definition at line 342 of file config_backend_pool_dhcp6.cc.

StampedValueCollection isc::dhcp::ConfigBackendPoolDHCPv6::getAllGlobalParameters6 ( const db::BackendSelector backend_selector,
const db::ServerSelector server_selector 
) const
virtual

Retrieves all global parameters.

Parameters
backend_selectorBackend selector.
server_selectorServer selector.

Definition at line 182 of file config_backend_pool_dhcp6.cc.

OptionDefContainer isc::dhcp::ConfigBackendPoolDHCPv6::getAllOptionDefs6 ( const db::BackendSelector backend_selector,
const db::ServerSelector server_selector 
) const
virtual

Retrieves all option definitions.

Parameters
backend_selectorBackend selector.
server_selectorServer selector.
Returns
Collection of option definitions or empty collection if no option definition found.

Definition at line 117 of file config_backend_pool_dhcp6.cc.

OptionContainer isc::dhcp::ConfigBackendPoolDHCPv6::getAllOptions6 ( const db::BackendSelector backend_selector,
const db::ServerSelector server_selector 
) const
virtual

Retrieves all global options.

Parameters
backend_selectorBackend selector.
server_selectorServer selector.
Returns
Collection of global options or empty collection if no option found.

Definition at line 150 of file config_backend_pool_dhcp6.cc.

ServerCollection isc::dhcp::ConfigBackendPoolDHCPv6::getAllServers6 ( const db::BackendSelector backend_selector) const
virtual

Retrieves all servers from the particular backend.

This method returns the list of servers excluding the logical server 'all'.

Parameters
backend_selectorBackend selector.
Returns
Collection of servers from the backend.

Definition at line 217 of file config_backend_pool_dhcp6.cc.

SharedNetwork6Collection isc::dhcp::ConfigBackendPoolDHCPv6::getAllSharedNetworks6 ( const db::BackendSelector backend_selector,
const db::ServerSelector server_selector 
) const
virtual

Retrieves all shared networks.

Parameters
backend_selectorBackend selector.
server_selectorServer selector.
Returns
Collection of shared network or empty collection if no shared network found.

Definition at line 83 of file config_backend_pool_dhcp6.cc.

Subnet6Collection isc::dhcp::ConfigBackendPoolDHCPv6::getAllSubnets6 ( const db::BackendSelector backend_selector,
const db::ServerSelector server_selector 
) const
virtual

Retrieves all subnets.

Parameters
backend_selectorBackend selector.
server_selectorServer selector.
Returns
Collection of subnets or empty collection if no subnet found.

Definition at line 40 of file config_backend_pool_dhcp6.cc.

StampedValuePtr isc::dhcp::ConfigBackendPoolDHCPv6::getGlobalParameter6 ( const db::BackendSelector backend_selector,
const db::ServerSelector server_selector,
const std::string &  name 
) const
virtual

Retrieves global parameter value.

Parameters
backend_selectorBackend selector.
server_selectorServer selector.
nameName of the global parameter to be retrieved.
Returns
Value of the global parameter.

Definition at line 171 of file config_backend_pool_dhcp6.cc.

StampedValueCollection isc::dhcp::ConfigBackendPoolDHCPv6::getModifiedGlobalParameters6 ( const db::BackendSelector backend_selector,
const db::ServerSelector server_selector,
const boost::posix_time::ptime &  modification_time 
) const
virtual

Retrieves global parameters modified after specified time.

Parameters
backend_selectorBackend selector.
server_selectorServer selector.
modification_timeLower bound subnet modification time.
Returns
Collection of modified global parameters.

Definition at line 193 of file config_backend_pool_dhcp6.cc.

OptionDefContainer isc::dhcp::ConfigBackendPoolDHCPv6::getModifiedOptionDefs6 ( const db::BackendSelector backend_selector,
const db::ServerSelector server_selector,
const boost::posix_time::ptime &  modification_time 
) const
virtual

Retrieves option definitions modified after specified time.

Parameters
backend_selectorBackend selector.
server_selectorServer selector.
modification_timeLower bound option definition modification time.
Returns
Collection of option definitions or empty collection if no option definition found.

Definition at line 127 of file config_backend_pool_dhcp6.cc.

OptionContainer isc::dhcp::ConfigBackendPoolDHCPv6::getModifiedOptions6 ( const db::BackendSelector backend_selector,
const db::ServerSelector server_selector,
const boost::posix_time::ptime &  modification_time 
) const
virtual

Retrieves option modified after specified time.

Parameters
backend_selectorBackend selector.
server_selectorServer selector.
modification_timeLower bound option modification time.
Returns
Collection of global options or empty collection if no option found.

Definition at line 160 of file config_backend_pool_dhcp6.cc.

SharedNetwork6Collection isc::dhcp::ConfigBackendPoolDHCPv6::getModifiedSharedNetworks6 ( const db::BackendSelector backend_selector,
const db::ServerSelector server_selector,
const boost::posix_time::ptime &  modification_time 
) const
virtual

Retrieves shared networks modified after specified time.

Parameters
backend_selectorBackend selector.
server_selectorServer selector.
modification_timeLower bound shared network modification time.
Returns
Collection of shared network or empty collection if no shared network found.

Definition at line 94 of file config_backend_pool_dhcp6.cc.

Subnet6Collection isc::dhcp::ConfigBackendPoolDHCPv6::getModifiedSubnets6 ( const db::BackendSelector backend_selector,
const db::ServerSelector server_selector,
const boost::posix_time::ptime &  modification_time 
) const
virtual

Retrieves subnets modified after specified time.

Parameters
backend_selectorBackend selector.
server_selectorServer selector.
modification_timeLower bound subnet modification time.
Returns
Collection of subnets or empty collection if no subnet found.

Definition at line 50 of file config_backend_pool_dhcp6.cc.

OptionDescriptorPtr isc::dhcp::ConfigBackendPoolDHCPv6::getOption6 ( const db::BackendSelector backend_selector,
const db::ServerSelector server_selector,
const uint16_t  code,
const std::string &  space 
) const
virtual

Retrieves single option by code and space.

Parameters
backend_selectorBackend selector.
server_selectorServer selector.
codeOption code.
spaceOption space.
Returns
Pointer to the retrieved option descriptor or null if no option was found.

Definition at line 138 of file config_backend_pool_dhcp6.cc.

OptionDefinitionPtr isc::dhcp::ConfigBackendPoolDHCPv6::getOptionDef6 ( const db::BackendSelector backend_selector,
const db::ServerSelector server_selector,
const uint16_t  code,
const std::string &  space 
) const
virtual

Retrieves single option definition by code and space.

Parameters
backend_selectorBackend selector.
server_selectorServer selector.
codeCode of the option to be retrieved.
spaceOption space of the option to be retrieved.
Returns
Pointer to the option definition or NULL if not found.

Definition at line 105 of file config_backend_pool_dhcp6.cc.

AuditEntryCollection isc::dhcp::ConfigBackendPoolDHCPv6::getRecentAuditEntries ( const db::BackendSelector backend_selector,
const db::ServerSelector server_selector,
const boost::posix_time::ptime &  modification_time,
const uint64_t &  modification_id 
) const
virtual

Retrieves the most recent audit entries.

Parameters
backend_selectorBackend selector.
server_selectorServer selector.
modification_timeTimestamp being a lower limit for the returned result set, i.e. entries later than specified time are returned.
modification_idIdentifier being a lower limit for the returned result set, used when two (or more) entries have the same modification_time.
Returns
Collection of audit entries.

Definition at line 205 of file config_backend_pool_dhcp6.cc.

ServerPtr isc::dhcp::ConfigBackendPoolDHCPv6::getServer6 ( const db::BackendSelector backend_selector,
const data::ServerTag server_tag 
) const
virtual

Retrieves a server from the particular backend.

Parameters
backend_selectorBackend selector.
server_tagTag of the server to be retrieved.
Returns
Pointer to the server instance or null pointer if no server with the particular tag was found.

Definition at line 225 of file config_backend_pool_dhcp6.cc.

SharedNetwork6Ptr isc::dhcp::ConfigBackendPoolDHCPv6::getSharedNetwork6 ( const db::BackendSelector backend_selector,
const db::ServerSelector server_selector,
const std::string &  name 
) const
virtual

Retrieves shared network by name.

Parameters
backend_selectorBackend selector.
server_selectorServer selector.
nameName of the shared network to be retrieved.
Returns
Pointer to the shared network or NULL if not found.

Definition at line 72 of file config_backend_pool_dhcp6.cc.

Subnet6Collection isc::dhcp::ConfigBackendPoolDHCPv6::getSharedNetworkSubnets6 ( const db::BackendSelector backend_selector,
const db::ServerSelector server_selector,
const std::string &  shared_network_name 
) const
virtual

Retrieves all subnets belonging to a specified shared network.

Parameters
backend_selectorBackend selector.
server_selectorServer selector.
shared_network_nameName of the shared network for which the subnets should be retrieved.
Returns
Collection of subnets or empty collection if no subnet found.

Definition at line 61 of file config_backend_pool_dhcp6.cc.

Subnet6Ptr isc::dhcp::ConfigBackendPoolDHCPv6::getSubnet6 ( const db::BackendSelector backend_selector,
const db::ServerSelector server_selector,
const std::string &  subnet_prefix 
) const
virtual

Retrieves a single subnet by subnet_prefix.

Parameters
backend_selectorBackend selector.
server_selectorServer selector.
subnet_prefixPrefix of the subnet to be retrieved.
Returns
Pointer to the retrieved subnet or NULL if not found.

Definition at line 18 of file config_backend_pool_dhcp6.cc.

Subnet6Ptr isc::dhcp::ConfigBackendPoolDHCPv6::getSubnet6 ( const db::BackendSelector backend_selector,
const db::ServerSelector server_selector,
const SubnetID subnet_id 
) const
virtual

Retrieves a single subnet by subnet identifier.

Parameters
backend_selectorBackend selector.
server_selectorServer selector.
subnet_idIdentifier of a subnet to be retrieved.
Returns
Pointer to the retrieved subnet or NULL if not found.

Definition at line 29 of file config_backend_pool_dhcp6.cc.


The documentation for this class was generated from the following files: