![]() |
Kea 1.5.0
|
Interface implemented by DHCPv4 configuration backends. More...
#include <config_backend_dhcp4.h>
Inheritance diagram for isc::dhcp::ConfigBackendDHCPv4:Public Member Functions | |
| virtual | ~ConfigBackendDHCPv4 () |
| Virtual destructor. | |
| virtual void | createUpdateGlobalParameter4 (const db::ServerSelector &server_selector, const data::StampedValuePtr &value)=0 |
| Creates or updates global parameter. | |
| virtual void | createUpdateOption4 (const db::ServerSelector &selector, const std::string &shared_network_name, const OptionDescriptorPtr &option)=0 |
| Creates or updates shared network level option. | |
| virtual void | createUpdateOption4 (const db::ServerSelector &server_selector, const asiolink::IOAddress &pool_start_address, const asiolink::IOAddress &pool_end_address, const OptionDescriptorPtr &option)=0 |
| Creates or updates pool level option. | |
| virtual void | createUpdateOption4 (const db::ServerSelector &server_selector, const OptionDescriptorPtr &option)=0 |
| Creates or updates global option. | |
| virtual void | createUpdateOption4 (const db::ServerSelector &server_selector, const SubnetID &subnet_id, const OptionDescriptorPtr &option)=0 |
| Creates or updates subnet level option. | |
| virtual void | createUpdateOptionDef4 (const db::ServerSelector &server_selector, const OptionDefinitionPtr &option_def)=0 |
| Creates or updates an option definition. | |
| virtual void | createUpdateSharedNetwork4 (const db::ServerSelector &server_selector, const SharedNetwork4Ptr &shared_network)=0 |
| Creates or updates a shared network. | |
| virtual void | createUpdateSubnet4 (const db::ServerSelector &server_selector, const Subnet4Ptr &subnet)=0 |
| Creates or updates a subnet. | |
| virtual uint64_t | deleteAllGlobalParameters4 (const db::ServerSelector &server_selector)=0 |
| Deletes all global parameters. | |
| virtual uint64_t | deleteAllOptionDefs4 (const db::ServerSelector &server_selector)=0 |
| Deletes all option definitions. | |
| virtual uint64_t | deleteAllSharedNetworks4 (const db::ServerSelector &server_selector)=0 |
| Deletes all shared networks. | |
| virtual uint64_t | deleteAllSubnets4 (const db::ServerSelector &server_selector)=0 |
| Deletes all subnets. | |
| virtual uint64_t | deleteGlobalParameter4 (const db::ServerSelector &server_selector, const std::string &name)=0 |
| Deletes global parameter. | |
| virtual uint64_t | deleteOption4 (const db::ServerSelector &selector, const std::string &shared_network_name, const uint16_t code, const std::string &space)=0 |
| Deletes shared network level option. | |
| virtual uint64_t | deleteOption4 (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)=0 |
| Deletes pool level option. | |
| virtual uint64_t | deleteOption4 (const db::ServerSelector &server_selector, const SubnetID &subnet_id, const uint16_t code, const std::string &space)=0 |
| Deletes subnet level option. | |
| virtual uint64_t | deleteOption4 (const db::ServerSelector &server_selector, const uint16_t code, const std::string &space)=0 |
| Deletes global option. | |
| virtual uint64_t | deleteOptionDef4 (const db::ServerSelector &server_selector, const uint16_t code, const std::string &space)=0 |
| Deletes option definition. | |
| virtual uint64_t | deleteSharedNetwork4 (const db::ServerSelector &server_selector, const std::string &name)=0 |
| Deletes shared network by name. | |
| virtual uint64_t | deleteSubnet4 (const db::ServerSelector &server_selector, const std::string &subnet_prefix)=0 |
| Deletes subnet by prefix. | |
| virtual uint64_t | deleteSubnet4 (const db::ServerSelector &server_selector, const SubnetID &subnet_id)=0 |
| Deletes subnet by identifier. | |
| virtual data::StampedValueCollection | getAllGlobalParameters4 (const db::ServerSelector &selector) const =0 |
| virtual OptionDefContainer | getAllOptionDefs4 (const db::ServerSelector &server_selector) const =0 |
| Retrieves all option definitions. | |
| virtual OptionContainer | getAllOptions4 (const db::ServerSelector &server_selector) const =0 |
| Retrieves all global options. | |
| virtual SharedNetwork4Collection | getAllSharedNetworks4 (const db::ServerSelector &server_selector) const =0 |
| Retrieves all shared networks. | |
| virtual Subnet4Collection | getAllSubnets4 (const db::ServerSelector &server_selector) const =0 |
| Retrieves all subnets. | |
| virtual data::StampedValuePtr | getGlobalParameter4 (const db::ServerSelector &selector, const std::string &name) const =0 |
| Retrieves global parameter value. | |
| virtual data::StampedValueCollection | getModifiedGlobalParameters4 (const db::ServerSelector &selector, const boost::posix_time::ptime &modification_time) const =0 |
| Retrieves global parameters modified after specified time. | |
| virtual OptionDefContainer | getModifiedOptionDefs4 (const db::ServerSelector &server_selector, const boost::posix_time::ptime &modification_time) const =0 |
| Retrieves option definitions modified after specified time. | |
| virtual OptionContainer | getModifiedOptions4 (const db::ServerSelector &selector, const boost::posix_time::ptime &modification_time) const =0 |
| Retrieves option modified after specified time. | |
| virtual SharedNetwork4Collection | getModifiedSharedNetworks4 (const db::ServerSelector &server_selector, const boost::posix_time::ptime &modification_time) const =0 |
| Retrieves shared networks modified after specified time. | |
| virtual Subnet4Collection | getModifiedSubnets4 (const db::ServerSelector &server_selector, const boost::posix_time::ptime &modification_time) const =0 |
| Retrieves subnets modified after specified time. | |
| virtual OptionDescriptorPtr | getOption4 (const db::ServerSelector &server_selector, const uint16_t code, const std::string &space) const =0 |
| Retrieves single option by code and space. | |
| virtual OptionDefinitionPtr | getOptionDef4 (const db::ServerSelector &server_selector, const uint16_t code, const std::string &space) const =0 |
| Retrieves single option definition by code and space. | |
| virtual SharedNetwork4Ptr | getSharedNetwork4 (const db::ServerSelector &server_selector, const std::string &name) const =0 |
| Retrieves shared network by name. | |
| virtual Subnet4Ptr | getSubnet4 (const db::ServerSelector &server_selector, const std::string &subnet_prefix) const =0 |
| Retrieves a single subnet by subnet_prefix. | |
| virtual Subnet4Ptr | getSubnet4 (const db::ServerSelector &server_selector, const SubnetID &subnet_id) const =0 |
| Retrieves a single subnet by subnet identifier. | |
Public Member Functions inherited from isc::cb::BaseConfigBackend | |
| virtual | ~BaseConfigBackend () |
| Virtual destructor. | |
| virtual std::string | getHost () const =0 |
| Returns backend host. | |
| virtual uint16_t | getPort () const =0 |
| Returns backend port number. | |
| virtual std::string | getType () const =0 |
| Returns backend type in the textual format. | |
Interface implemented by DHCPv4 configuration backends.
Definition at line 26 of file config_backend_dhcp4.h.
|
inlinevirtual |
Virtual destructor.
Definition at line 30 of file config_backend_dhcp4.h.
|
pure virtual |
Creates or updates global parameter.
| server_selector | Server selector. |
| value | Value of the global parameter. |
Referenced by isc::dhcp::ConfigBackendPoolDHCPv4::createUpdateGlobalParameter4().
|
pure virtual |
Creates or updates shared network level option.
| selector | Server selector. |
| shared_network_name | Name of a shared network to which option belongs. |
| option | Option to be added or updated. |
|
pure virtual |
Creates or updates pool level option.
| 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. |
|
pure virtual |
Creates or updates global option.
| server_selector | Server selector. |
| option | Option to be added or updated. |
Referenced by isc::dhcp::ConfigBackendPoolDHCPv4::createUpdateOption4().
|
pure virtual |
Creates or updates subnet level option.
| server_selector | Server selector. |
| subnet_id | Identifier of a subnet to which option belongs. |
| option | Option to be added or updated. |
|
pure virtual |
Creates or updates an option definition.
| server_selector | Server selector. |
| option_def | Option definition to be added or updated. |
Referenced by isc::dhcp::ConfigBackendPoolDHCPv4::createUpdateOptionDef4().
|
pure virtual |
Creates or updates a shared network.
| server_selector | Server selector. |
| shared_network | Shared network to be added or updated. |
Referenced by isc::dhcp::ConfigBackendPoolDHCPv4::createUpdateSharedNetwork4().
|
pure virtual |
Creates or updates a subnet.
| server_selector | Server selector. |
| subnet | Subnet to be added or updated. |
Referenced by isc::dhcp::ConfigBackendPoolDHCPv4::createUpdateSubnet4().
|
pure virtual |
Deletes all global parameters.
| server_selector | Server selector. |
Referenced by isc::dhcp::ConfigBackendPoolDHCPv4::deleteAllGlobalParameters4().
|
pure virtual |
Deletes all option definitions.
| server_selector | Server selector. |
Referenced by isc::dhcp::ConfigBackendPoolDHCPv4::deleteAllOptionDefs4().
|
pure virtual |
Deletes all shared networks.
| server_selector | Server selector. |
Referenced by isc::dhcp::ConfigBackendPoolDHCPv4::deleteAllSharedNetworks4().
|
pure virtual |
Deletes all subnets.
| server_selector | Server selector. |
Referenced by isc::dhcp::ConfigBackendPoolDHCPv4::deleteAllSubnets4().
|
pure virtual |
Deletes global parameter.
| server_selector | Server selector. |
| name | Name of the global parameter to be deleted. |
Referenced by isc::dhcp::ConfigBackendPoolDHCPv4::deleteGlobalParameter4().
|
pure virtual |
Deletes shared network level option.
| 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. |
|
pure virtual |
Deletes pool level option.
| 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. |
|
pure virtual |
Deletes subnet level option.
| 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. |
|
pure virtual |
Deletes global option.
| server_selector | Server selector. |
| code | Code of the option to be deleted. |
| space | Option space of the option to be deleted. |
Referenced by isc::dhcp::ConfigBackendPoolDHCPv4::deleteOption4().
|
pure virtual |
Deletes option definition.
| server_selector | Server selector. |
| code | Code of the option to be deleted. |
| space | Option space of the option to be deleted. |
Referenced by isc::dhcp::ConfigBackendPoolDHCPv4::deleteOptionDef4().
|
pure virtual |
Deletes shared network by name.
| server_selector | Server selector. |
| name | Name of the shared network to be deleted. |
Referenced by isc::dhcp::ConfigBackendPoolDHCPv4::deleteSharedNetwork4().
|
pure virtual |
Deletes subnet by prefix.
| server_selector | Server selector. |
| subnet_prefix | Prefix of the subnet to be deleted. |
Referenced by isc::dhcp::ConfigBackendPoolDHCPv4::deleteSubnet4().
|
pure virtual |
Deletes subnet by identifier.
| server_selector | Server selector. |
| subnet_id | Identifier of the subnet to be deleted. |
|
pure virtual |
Referenced by isc::dhcp::ConfigBackendPoolDHCPv4::getAllGlobalParameters4().
|
pure virtual |
Retrieves all option definitions.
| server_selector | Server selector. |
Referenced by isc::dhcp::ConfigBackendPoolDHCPv4::getAllOptionDefs4().
|
pure virtual |
Retrieves all global options.
| server_selector | Server selector. |
Referenced by isc::dhcp::ConfigBackendPoolDHCPv4::getAllOptions4().
|
pure virtual |
Retrieves all shared networks.
| server_selector | Server selector. |
Referenced by isc::dhcp::ConfigBackendPoolDHCPv4::getAllSharedNetworks4().
|
pure virtual |
Retrieves all subnets.
| server_selector | Server selector. |
Referenced by isc::dhcp::ConfigBackendPoolDHCPv4::getAllSubnets4().
|
pure virtual |
Retrieves global parameter value.
| selector | Server selector. |
| name | Name of the global parameter to be retrieved. |
Referenced by isc::dhcp::ConfigBackendPoolDHCPv4::getGlobalParameter4().
|
pure virtual |
Retrieves global parameters modified after specified time.
| selector | Server selector. |
| modification_time | Modification time. |
Referenced by isc::dhcp::ConfigBackendPoolDHCPv4::getModifiedGlobalParameters4().
|
pure virtual |
Retrieves option definitions modified after specified time.
| server_selector | Server selector. |
| modification_time | Lower bound option definition modification time. |
Referenced by isc::dhcp::ConfigBackendPoolDHCPv4::getModifiedOptionDefs4().
|
pure virtual |
Retrieves option modified after specified time.
| selector | Server selector. |
| modification_time | Lower bound option modification time. |
Referenced by isc::dhcp::ConfigBackendPoolDHCPv4::getModifiedOptions4().
|
pure virtual |
Retrieves shared networks modified after specified time.
| server_selector | Server selector. |
| modification_time | Lower bound shared network modification time. |
Referenced by isc::dhcp::ConfigBackendPoolDHCPv4::getModifiedSharedNetworks4().
|
pure virtual |
Retrieves subnets modified after specified time.
| server_selector | Server selector. |
| modification_time | Lower bound subnet modification time. |
Referenced by isc::dhcp::ConfigBackendPoolDHCPv4::getModifiedSubnets4().
|
pure virtual |
Retrieves single option by code and space.
Referenced by isc::dhcp::ConfigBackendPoolDHCPv4::getOption4().
|
pure virtual |
Retrieves single option definition by code and space.
| server_selector | Server selector. |
| code | Code of the option to be retrieved. |
| space | Option space of the option to be retrieved. |
Referenced by isc::dhcp::ConfigBackendPoolDHCPv4::getOptionDef4().
|
pure virtual |
Retrieves shared network by name.
| server_selector | Server selector. |
| name | Name of the shared network to be retrieved. |
Referenced by isc::dhcp::ConfigBackendPoolDHCPv4::getSharedNetwork4().
|
pure virtual |
Retrieves a single subnet by subnet_prefix.
| server_selector | Server selector. |
| subnet_prefix | Prefix of the subnet to be retrieved. |
Referenced by isc::dhcp::ConfigBackendPoolDHCPv4::getSubnet4().
|
pure virtual |
Retrieves a single subnet by subnet identifier.
| server_selector | Server selector. |
| subnet_id | Identifier of a subnet to be retrieved. |