|
virtual void | createUpdateGlobalParameter4 (const db::BackendSelector &backend_selector, const db::ServerSelector &server_selector, const data::StampedValuePtr &value) |
| Creates or updates global string parameter. More...
|
|
virtual void | createUpdateOption4 (const db::BackendSelector &backend_selector, const db::ServerSelector &server_selector, const OptionDescriptorPtr &option) |
| Creates or updates global option. More...
|
|
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. More...
|
|
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. More...
|
|
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. More...
|
|
virtual void | createUpdateOptionDef4 (const db::BackendSelector &backend_selector, const db::ServerSelector &server_selector, const OptionDefinitionPtr &option_def) |
| Creates or updates an option definition. More...
|
|
virtual void | createUpdateServer4 (const db::BackendSelector &backend_selector, const db::ServerPtr &server) |
| Creates or updates a server. More...
|
|
virtual void | createUpdateSharedNetwork4 (const db::BackendSelector &backend_selector, const db::ServerSelector &server_selector, const SharedNetwork4Ptr &shared_network) |
| Creates or updates a shared network. More...
|
|
virtual void | createUpdateSubnet4 (const db::BackendSelector &backend_selector, const db::ServerSelector &server_selector, const Subnet4Ptr &subnet) |
| Creates or updates a subnet. More...
|
|
virtual uint64_t | deleteAllGlobalParameters4 (const db::BackendSelector &backend_selector, const db::ServerSelector &server_selector) |
| Deletes all global parameters. More...
|
|
virtual uint64_t | deleteAllOptionDefs4 (const db::BackendSelector &backend_selector, const db::ServerSelector &server_selector) |
| Deletes all option definitions. More...
|
|
virtual uint64_t | deleteAllServers4 (const db::BackendSelector &backend_selector) |
| Deletes all servers from the backend except the logical server 'all'. More...
|
|
virtual uint64_t | deleteAllSharedNetworks4 (const db::BackendSelector &backend_selector, const db::ServerSelector &server_selector) |
| Deletes all shared networks. More...
|
|
virtual uint64_t | deleteAllSubnets4 (const db::BackendSelector &backend_selector, const db::ServerSelector &server_selector) |
| Deletes all subnets. More...
|
|
virtual uint64_t | deleteGlobalParameter4 (const db::BackendSelector &backend_selector, const db::ServerSelector &server_selector, const std::string &name) |
| Deletes global parameter. More...
|
|
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. More...
|
|
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. More...
|
|
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. More...
|
|
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. More...
|
|
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. More...
|
|
virtual uint64_t | deleteServer4 (const db::BackendSelector &backend_selector, const data::ServerTag &server_tag) |
| Deletes a server from the backend. More...
|
|
virtual uint64_t | deleteSharedNetwork4 (const db::BackendSelector &backend_selector, const db::ServerSelector &server_selector, const std::string &name) |
| Deletes shared network by name. More...
|
|
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. More...
|
|
virtual uint64_t | deleteSubnet4 (const db::BackendSelector &backend_selector, const db::ServerSelector &server_selector, const std::string &subnet_prefix) |
| Deletes subnet by prefix. More...
|
|
virtual uint64_t | deleteSubnet4 (const db::BackendSelector &backend_selector, const db::ServerSelector &server_selector, const SubnetID &subnet_id) |
| Deletes subnet by identifier. More...
|
|
virtual data::StampedValueCollection | getAllGlobalParameters4 (const db::BackendSelector &backend_selector, const db::ServerSelector &server_selector) const |
| Retrieves all global parameters. More...
|
|
virtual OptionDefContainer | getAllOptionDefs4 (const db::BackendSelector &backend_selector, const db::ServerSelector &server_selector) const |
| Retrieves all option definitions. More...
|
|
virtual OptionContainer | getAllOptions4 (const db::BackendSelector &backend_selector, const db::ServerSelector &server_selector) const |
| Retrieves all global options. More...
|
|
virtual db::ServerCollection | getAllServers4 (const db::BackendSelector &backend_selector) const |
| Retrieves all servers from the particular backend. More...
|
|
virtual SharedNetwork4Collection | getAllSharedNetworks4 (const db::BackendSelector &backend_selector, const db::ServerSelector &server_selector) const |
| Retrieves all shared networks. More...
|
|
virtual Subnet4Collection | getAllSubnets4 (const db::BackendSelector &backend_selector, const db::ServerSelector &server_selector) const |
| Retrieves all subnets. More...
|
|
virtual data::StampedValuePtr | getGlobalParameter4 (const db::BackendSelector &backend_selector, const db::ServerSelector &server_selector, const std::string &name) const |
| Retrieves global parameter value. More...
|
|
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. More...
|
|
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. More...
|
|
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. More...
|
|
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. More...
|
|
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. More...
|
|
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. More...
|
|
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. 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 | getServer4 (const db::BackendSelector &backend_selector, const data::ServerTag &server_tag) const |
| Retrieves a server from the particular backend. More...
|
|
virtual SharedNetwork4Ptr | getSharedNetwork4 (const db::BackendSelector &backend_selector, const db::ServerSelector &server_selector, const std::string &name) const |
| Retrieves shared network by name. More...
|
|
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. More...
|
|
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. More...
|
|
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. 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< ConfigBackendDHCPv4 > | ConfigBackendTypePtr |
| Shared pointer to the Configuration Backend used. More...
|
|
ReturnValue | createUpdateDeleteBackendProperty (ReturnValue(ConfigBackendDHCPv4::*MethodPointer)(FnPtrArgs...), const db::BackendSelector &backend_selector, Args...input) |
| Add, update or delete property from the backend. More...
|
|
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. More...
|
|
void | getAllBackendPropertiesConst (PropertyCollectionType(ConfigBackendDHCPv4::*MethodPointer)() const, const db::BackendSelector &backend_selector, PropertyCollectionType &properties) const |
| Get all configuration properties from the backend. More...
|
|
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. More...
|
|
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. More...
|
|
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. More...
|
|
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. 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 DHCPv4.
All POSIX times specified in the methods belonging to this class must be local times.
Definition at line 32 of file config_backend_pool_dhcp4.h.