|
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...
|
|
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...
|
|
|
typedef boost::shared_ptr< ConfigBackendDHCPv6 > | ConfigBackendTypePtr |
| Shared pointer to the Configuration Backend used. More...
|
|
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< ConfigBackendTypePtr > | selectBackends (const db::BackendSelector &backend_selector) const |
| Selects existing backends matching the selector. More...
|
|
std::list< ConfigBackendTypePtr > | backends_ |
| Holds configuration backends belonging to the pool. More...
|
|
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.