![]() |
Kea 3.3.4
|
Implementation of the callouts for cb_cmds library for DHCPv4. More...
#include <cb_cmds_dhcp4.h>
Public Member Functions | |
| void | delClientClass4 (hooks::CalloutHandle &callout_handle) |
| Implements handler for remote-class4-del command. | |
| void | delGlobalOption4 (hooks::CalloutHandle &callout_handle) |
| Implements handler for remote-option4-global-del command. | |
| void | delGlobalParameter4 (hooks::CalloutHandle &callout_handle) |
| Implements handler for remote-global-parameter4-del command. | |
| void | delOptionDef4 (hooks::CalloutHandle &callout_handle) |
| Implements handler for remote-option-def4-del command. | |
| void | delPoolOption4 (hooks::CalloutHandle &callout_handle) |
| Implements handler for remote-option4-pool-del command. | |
| void | delServer4 (hooks::CalloutHandle &callout_handle) |
| Implements handler for remote-server4-del command. | |
| void | delSharedNetwork4 (hooks::CalloutHandle &callout_handle) |
| Implements handler for remote-shared-network4-del command. | |
| void | delSharedNetworkOption4 (hooks::CalloutHandle &callout_handle) |
| Implements handler for remote-option4-network-del command. | |
| void | delSubnet4Id (hooks::CalloutHandle &callout_handle) |
| Implements handler for remote-subnet4-del-by-id command. | |
| void | delSubnet4Prefix (hooks::CalloutHandle &callout_handle) |
| Implements handler for remote-subnet4-del-by-prefix command. | |
| void | delSubnetOption4 (hooks::CalloutHandle &callout_handle) |
| Implements handler for remote-option4-subnet-del command. | |
| void | getAllClientClasses4 (hooks::CalloutHandle &callout_handle) |
| Implements handler for remote-class4-get-all command. | |
| void | getAllGlobalOptions4 (hooks::CalloutHandle &callout_handle) |
| Implements handler for remote-option4-global-get-all command. | |
| void | getAllGlobalParameters4 (hooks::CalloutHandle &callout_handle) |
| Implements handler for remote-global-parameter4-get-all command. | |
| void | getAllOptionDefs4 (hooks::CalloutHandle &callout_handle) |
| Implements handler for remote-option-def4-get-all command. | |
| void | getAllServers4 (hooks::CalloutHandle &callout_handle) |
| Implements handler for remote-server4-get-all command. | |
| void | getClientClass4 (hooks::CalloutHandle &callout_handle) |
| Implements handler for remote-class4-get command. | |
| void | getGlobalOption4 (hooks::CalloutHandle &callout_handle) |
| Implements handler for remote-option4-global-get command. | |
| void | getGlobalParameter4 (hooks::CalloutHandle &callout_handle) |
| Implements handler for remote-global-parameter4-get command. | |
| void | getOptionDef4 (hooks::CalloutHandle &callout_handle) |
| Implements handler for remote-option-def4-get command. | |
| void | getServer4 (hooks::CalloutHandle &callout_handle) |
| Implements handler for remote-server4-get command. | |
| void | getSharedNetwork4 (hooks::CalloutHandle &callout_handle) |
| Implements handler for remote-shared-network4-get command. | |
| void | getSubnet4Id (hooks::CalloutHandle &callout_handle) |
| Implements handler for remote-subnet4-get-by-id command. | |
| void | getSubnet4Prefix (hooks::CalloutHandle &callout_handle) |
| Implements handler for remote-subnet4-get-by-prefix command. | |
| void | listSharedNetworks4 (hooks::CalloutHandle &callout_handle) |
| Implements handler for remote-shared-network4-list command. | |
| void | listSubnets4 (hooks::CalloutHandle &callout_handle) |
| Implements handler for remote-subnet4-list command. | |
| void | setClientClass4 (hooks::CalloutHandle &callout_handle) |
| Implements handler for remote-class4-set command. | |
| void | setGlobalOption4 (hooks::CalloutHandle &callout_handle) |
| Implements handler for remote-option4-global-set command. | |
| void | setGlobalParameter4 (hooks::CalloutHandle &callout_handle) |
| Implements handler for remote-global-parameter4-set command. | |
| void | setOptionDef4 (hooks::CalloutHandle &callout_handle) |
| Implements handler for remote-option-def4-set command. | |
| void | setPoolOption4 (hooks::CalloutHandle &callout_handle) |
| Implements handler for remote-option4-pool-set command. | |
| void | setServer4 (hooks::CalloutHandle &callout_handle) |
| Implements handler for remote-server4-set command. | |
| void | setSharedNetwork4 (hooks::CalloutHandle &callout_handle) |
| Implements handler for remote-shared-network4-set command. | |
| void | setSharedNetworkOption4 (hooks::CalloutHandle &callout_handle) |
| Implements handler for remote-option4-network-set command. | |
| void | setSubnet4 (hooks::CalloutHandle &callout_handle) |
| Implements handler for remote-subnet4-set command. | |
| void | setSubnetOption4 (hooks::CalloutHandle &callout_handle) |
| Implements handler for remote-option4-subnet-set command. | |
| Public Member Functions inherited from isc::cb::ConfigCmdsImpl | |
| ConfigCmdsImpl () | |
| Constructor. | |
| template<typename FunType> | |
| void | delClientClass (hooks::CalloutHandle &callout_handle, const uint16_t address_family, FunType delete_fun) |
| Implements handler for remote-class[46]-del command. | |
| template<typename FunType> | |
| void | delGlobalOption (hooks::CalloutHandle &callout_handle, const uint16_t address_family, FunType delete_fun) |
| Implements handler for remote-option[46]-global-del command. | |
| template<typename FunType> | |
| void | delGlobalParameter (hooks::CalloutHandle &callout_handle, const data::SimpleKeywords &keywords, const uint16_t address_family, FunType delete_fun) |
| Implements handler for remote-global-parameter[46]-del command. | |
| template<typename FunType> | |
| void | delOptionDef (hooks::CalloutHandle &callout_handle, const uint16_t address_family, FunType delete_fun) |
| Implements handler for remote-option-def[46]-del command. | |
| template<typename FunType> | |
| void | delPoolOption (hooks::CalloutHandle &callout_handle, const uint16_t address_family, FunType delete_fun) |
| Implements handler for remote-option[46]-pool-del command. | |
| template<typename FunType> | |
| void | delServer (hooks::CalloutHandle &callout_handle, const uint16_t address_family, FunType delete_fun) |
| Implements handler for remote-server[46]-del command. | |
| template<typename FunType, typename FunType2> | |
| void | delSharedNetwork (hooks::CalloutHandle &callout_handle, const uint16_t address_family, FunType delete_fun, FunType2 delete_all_fun) |
| Implements handler for remote-shared-network[46]-del command. | |
| template<typename FunType> | |
| void | delSharedNetworkOption (hooks::CalloutHandle &callout_handle, const uint16_t address_family, FunType delete_fun) |
| Implements handler for remote-option[46]-network-del command. | |
| template<typename FunType> | |
| void | delSubnetId (hooks::CalloutHandle &callout_handle, const uint16_t address_family, FunType delete_fun) |
| Implements handler for remote-subnet[46]-del-by-id command. | |
| template<typename FunType> | |
| void | delSubnetOption (hooks::CalloutHandle &callout_handle, const uint16_t address_family, FunType delete_fun) |
| Implements handler for remote-option[46]-subnet-del command. | |
| template<typename FunType> | |
| void | delSubnetPrefix (hooks::CalloutHandle &callout_handle, const uint16_t address_family, FunType delete_fun) |
| Implements handler for remote-subnet[46]-del-by-prefix command. | |
| template<typename FunType> | |
| void | getAllClientClasses (hooks::CalloutHandle &callout_handle, const uint16_t address_family, FunType get_all) |
| Implements handler for remote-class[46]-get-all command. | |
| template<typename FunType> | |
| void | getAllGlobalOptions (hooks::CalloutHandle &callout_handle, const uint16_t address_family, FunType get_all_fun) |
| Implements handler for remote-option[46]-global-get-all command. | |
| template<typename FunType> | |
| void | getAllGlobalParameters (hooks::CalloutHandle &callout_handle, const data::SimpleKeywords &keywords, const uint16_t address_family, FunType get_all_fun) |
| Implements handler for remote-global-parameter[46]-get-all command. | |
| template<typename FunType> | |
| void | getAllOptionDefs (hooks::CalloutHandle &callout_handle, const uint16_t address_family, FunType get_all_fun) |
| Implements handler for remote-option-def[46]-get-all command. | |
| template<typename FunType> | |
| void | getAllServers (hooks::CalloutHandle &callout_handle, const uint16_t address_family, FunType get_all_fun) |
| Implements handler for remote-server[46]-get-all command. | |
| template<typename FunType> | |
| void | getClientClass (hooks::CalloutHandle &callout_handle, const uint16_t address_family, FunType get_fun) |
| Implements handler for remote-class[46]-get command. | |
| template<typename FunType> | |
| void | getGlobalOption (hooks::CalloutHandle &callout_handle, const uint16_t address_family, FunType get_fun) |
| Implements handler for remote-option[46]-global-get command. | |
| template<typename FunType> | |
| void | getGlobalParameter (hooks::CalloutHandle &callout_handle, const data::SimpleKeywords &keywords, const uint16_t address_family, FunType get_fun) |
| Implements handler for remote-global-parameter[46]-get command. | |
| template<typename FunType> | |
| void | getOptionDef (hooks::CalloutHandle &callout_handle, const uint16_t address_family, FunType get_fun) |
| Implements handler for remote-option-def[46]-get command. | |
| template<typename FunType> | |
| void | getServer (hooks::CalloutHandle &callout_handle, const uint16_t address_family, FunType get_fun) |
| Implements handler for remote-server[46]-get command. | |
| template<typename SharedNetworkPtrType, typename SubnetCollection, typename FunType, typename FunType2> | |
| void | getSharedNetwork (hooks::CalloutHandle &callout_handle, const uint16_t address_family, FunType get_fun, FunType2 get_all) |
| Implements handler for remote-shared-network[46]-get command. | |
| template<typename SubnetPtrType, typename FunType> | |
| void | getSubnetId (hooks::CalloutHandle &callout_handle, const uint16_t address_family, FunType get_fun) |
| Implements handler for remote-subnet[46]-get-by-id command. | |
| template<typename SubnetPtrType, typename FunType> | |
| void | getSubnetPrefix (hooks::CalloutHandle &callout_handle, const uint16_t address_family, FunType get_fun) |
| Implements handler for remote-subnet[46]-get-by-prefix command. | |
| template<typename SharedNetworkCollection, typename FunType> | |
| void | listSharedNetworks (hooks::CalloutHandle &callout_handle, const uint16_t address_family, FunType get_all) |
| Implements handler for remote-shared-network[46]-list command. | |
| template<typename SubnetCollection, typename FunType> | |
| void | listSubnets (hooks::CalloutHandle &callout_handle, const uint16_t address_family, FunType get_all_fun) |
| Implements handler for remote-subnet[46]-list command. | |
| data::ElementPtr | makeOptionInfoElement (const OptionDefinition &def) const |
| Create an element map containing an OptionDef's code and space. | |
| data::ElementPtr | makeOptionInfoElement (const OptionDescriptor &desc) const |
| Create an element map containing an OptionDescriptor's code, space, and client classes. | |
| template<typename FunType> | |
| void | setClientClass (hooks::CalloutHandle &callout_handle, const uint16_t address_family, FunType create_update_fun) |
| Implements handler for remote-class[46]-set command. | |
| template<typename FunType> | |
| void | setGlobalOption (hooks::CalloutHandle &callout_handle, const uint16_t address_family, FunType create_update_fun) |
| Implements handler for remote-option[46]-global-set command. | |
| template<typename FunType> | |
| void | setGlobalParameter (hooks::CalloutHandle &callout_handle, const data::SimpleKeywords &keywords, const data::SimpleKeywords &list_keywords, const uint16_t address_family, FunType create_update_fun) |
| Implements handler for remote-global-parameter[46]-set command. | |
| template<typename FunType> | |
| void | setOptionDef (hooks::CalloutHandle &callout_handle, const uint16_t address_family, FunType create_update_fun) |
| Implements handler for remote-option-def[46]-set command. | |
| template<typename FunType> | |
| void | setPoolOption (hooks::CalloutHandle &callout_handle, const uint16_t address_family, FunType create_update_fun) |
| Implements handler for remote-option[46]-pool-set command. | |
| template<typename FunType> | |
| void | setServer (hooks::CalloutHandle &callout_handle, const uint16_t address_family, FunType create_update_fun) |
| Implements handler for remote-server[46]-set command. | |
| template<typename SharedNetworkPtrType, typename SharedNetworkParser, typename FunType> | |
| void | setSharedNetwork (hooks::CalloutHandle &callout_handle, const uint16_t address_family, FunType create_update_fun) |
| Implements handler for remote-shared-network[46]-set command. | |
| template<typename FunType> | |
| void | setSharedNetworkOption (hooks::CalloutHandle &callout_handle, const uint16_t address_family, FunType create_update_fun) |
| Implements handler for remote-option[46]-network-set command. | |
| template<typename SubnetPtrType, typename SubnetConfigParser, typename FunType> | |
| void | setSubnet (hooks::CalloutHandle &callout_handle, const uint16_t address_family, FunType create_update_fun) |
| Implements handler for remote-subnet[46]-set command. | |
| template<typename FunType> | |
| void | setSubnetOption (hooks::CalloutHandle &callout_handle, const uint16_t address_family, FunType create_update_fun) |
| Implements handler for remote-option[46]-subnet-set command. | |
Static Public Attributes | |
| static const data::SimpleKeywords | GLOBAL4_MAP_PARAMETERS |
| Supported global maps parameters (scalars only). | |
Additional Inherited Members | |
| Protected Attributes inherited from isc::cb::ConfigCmdsImpl | |
| boost::shared_ptr< ConfigCmdsParser > | parser_ |
| Shared pointer to the commands parser. | |
Implementation of the callouts for cb_cmds library for DHCPv4.
This class implements callouts supported by the cb_cmds hooks library. Isolating callouts implementation in the class makes it easier to unit test the callouts without necessity to load the library.
Each callout implementation expects that the provided callout_handle includes the command along with the arguments. The command structure is extracted from the handle, processed and the response is stored in the callout_handle.
Definition at line 26 of file cb_cmds_dhcp4.h.
| void isc::cb::ConfigCmdsDhcp4Impl::delClientClass4 | ( | hooks::CalloutHandle & | callout_handle | ) |
Implements handler for remote-class4-del command.
| callout_handle | Callout handle provided to the callout. |
Definition at line 300 of file cb_cmds_dhcp4.cc.
References isc::cb::ConfigCmdsImpl::delClientClass(), and isc::dhcp::ConfigBackendDHCPv4Mgr::instance().
| void isc::cb::ConfigCmdsDhcp4Impl::delGlobalOption4 | ( | hooks::CalloutHandle & | callout_handle | ) |
Implements handler for remote-option4-global-del command.
| callout_handle | Callout handle provided to the callout. |
Definition at line 395 of file cb_cmds_dhcp4.cc.
References isc::cb::ConfigCmdsImpl::delGlobalOption(), and isc::dhcp::ConfigBackendDHCPv4Mgr::instance().
| void isc::cb::ConfigCmdsDhcp4Impl::delGlobalParameter4 | ( | hooks::CalloutHandle & | callout_handle | ) |
Implements handler for remote-global-parameter4-del command.
| callout_handle | Callout handle provided to the callout. |
Definition at line 126 of file cb_cmds_dhcp4.cc.
References isc::cb::ConfigCmdsImpl::delGlobalParameter(), and isc::dhcp::ConfigBackendDHCPv4Mgr::instance().
| void isc::cb::ConfigCmdsDhcp4Impl::delOptionDef4 | ( | hooks::CalloutHandle & | callout_handle | ) |
Implements handler for remote-option-def4-del command.
| callout_handle | Callout handle provided to the callout. |
Definition at line 344 of file cb_cmds_dhcp4.cc.
References isc::cb::ConfigCmdsImpl::delOptionDef(), and isc::dhcp::ConfigBackendDHCPv4Mgr::instance().
| void isc::cb::ConfigCmdsDhcp4Impl::delPoolOption4 | ( | hooks::CalloutHandle & | callout_handle | ) |
Implements handler for remote-option4-pool-del command.
| callout_handle | Callout handle provided to the callout. |
Definition at line 549 of file cb_cmds_dhcp4.cc.
References isc::cb::ConfigCmdsImpl::delPoolOption(), and isc::dhcp::ConfigBackendDHCPv4Mgr::instance().
| void isc::cb::ConfigCmdsDhcp4Impl::delServer4 | ( | hooks::CalloutHandle & | callout_handle | ) |
Implements handler for remote-server4-del command.
| callout_handle | Callout handle provided to the callout. |
Definition at line 443 of file cb_cmds_dhcp4.cc.
References isc::cb::ConfigCmdsImpl::delServer(), and isc::dhcp::ConfigBackendDHCPv4Mgr::instance().
| void isc::cb::ConfigCmdsDhcp4Impl::delSharedNetwork4 | ( | hooks::CalloutHandle & | callout_handle | ) |
Implements handler for remote-shared-network4-del command.
| callout_handle | Callout handle provided to the callout. |
Definition at line 240 of file cb_cmds_dhcp4.cc.
References isc::cb::ConfigCmdsImpl::delSharedNetwork(), isc::cb::BaseConfigBackendMgr< ConfigBackendPoolType >::getPool(), and isc::dhcp::ConfigBackendDHCPv4Mgr::instance().
| void isc::cb::ConfigCmdsDhcp4Impl::delSharedNetworkOption4 | ( | hooks::CalloutHandle & | callout_handle | ) |
Implements handler for remote-option4-network-del command.
| callout_handle | Callout handle provided to the callout. |
Definition at line 487 of file cb_cmds_dhcp4.cc.
References isc::cb::ConfigCmdsImpl::delSharedNetworkOption(), and isc::dhcp::ConfigBackendDHCPv4Mgr::instance().
| void isc::cb::ConfigCmdsDhcp4Impl::delSubnet4Id | ( | hooks::CalloutHandle & | callout_handle | ) |
Implements handler for remote-subnet4-del-by-id command.
| callout_handle | Callout handle provided to the callout. |
Definition at line 174 of file cb_cmds_dhcp4.cc.
References isc::cb::ConfigCmdsImpl::delSubnetId(), and isc::dhcp::ConfigBackendDHCPv4Mgr::instance().
| void isc::cb::ConfigCmdsDhcp4Impl::delSubnet4Prefix | ( | hooks::CalloutHandle & | callout_handle | ) |
Implements handler for remote-subnet4-del-by-prefix command.
| callout_handle | Callout handle provided to the callout. |
Definition at line 185 of file cb_cmds_dhcp4.cc.
References isc::cb::ConfigCmdsImpl::delSubnetPrefix(), and isc::dhcp::ConfigBackendDHCPv4Mgr::instance().
| void isc::cb::ConfigCmdsDhcp4Impl::delSubnetOption4 | ( | hooks::CalloutHandle & | callout_handle | ) |
Implements handler for remote-option4-subnet-del command.
| callout_handle | Callout handle provided to the callout. |
Definition at line 517 of file cb_cmds_dhcp4.cc.
References isc::cb::ConfigCmdsImpl::delSubnetOption(), and isc::dhcp::ConfigBackendDHCPv4Mgr::instance().
| void isc::cb::ConfigCmdsDhcp4Impl::getAllClientClasses4 | ( | hooks::CalloutHandle & | callout_handle | ) |
Implements handler for remote-class4-get-all command.
| callout_handle | Callout handle provided to the callout. |
Definition at line 323 of file cb_cmds_dhcp4.cc.
References isc::cb::ConfigCmdsImpl::getAllClientClasses(), getAllClientClasses4(), and isc::dhcp::ConfigBackendDHCPv4Mgr::instance().
Referenced by getAllClientClasses4().
| void isc::cb::ConfigCmdsDhcp4Impl::getAllGlobalOptions4 | ( | hooks::CalloutHandle & | callout_handle | ) |
Implements handler for remote-option4-global-get-all command.
| callout_handle | Callout handle provided to the callout. |
Definition at line 423 of file cb_cmds_dhcp4.cc.
References isc::cb::ConfigCmdsImpl::getAllGlobalOptions(), and isc::dhcp::ConfigBackendDHCPv4Mgr::instance().
| void isc::cb::ConfigCmdsDhcp4Impl::getAllGlobalParameters4 | ( | hooks::CalloutHandle & | callout_handle | ) |
Implements handler for remote-global-parameter4-get-all command.
| callout_handle | Callout handle provided to the callout. |
Definition at line 150 of file cb_cmds_dhcp4.cc.
References isc::cb::ConfigCmdsImpl::getAllGlobalParameters(), getAllGlobalParameters4(), and isc::dhcp::ConfigBackendDHCPv4Mgr::instance().
Referenced by getAllGlobalParameters4().
| void isc::cb::ConfigCmdsDhcp4Impl::getAllOptionDefs4 | ( | hooks::CalloutHandle & | callout_handle | ) |
Implements handler for remote-option-def4-get-all command.
| callout_handle | Callout handle provided to the callout. |
Definition at line 371 of file cb_cmds_dhcp4.cc.
References isc::cb::ConfigCmdsImpl::getAllOptionDefs(), getAllOptionDefs4(), and isc::dhcp::ConfigBackendDHCPv4Mgr::instance().
Referenced by getAllOptionDefs4().
| void isc::cb::ConfigCmdsDhcp4Impl::getAllServers4 | ( | hooks::CalloutHandle & | callout_handle | ) |
Implements handler for remote-server4-get-all command.
| callout_handle | Callout handle provided to the callout. |
Definition at line 463 of file cb_cmds_dhcp4.cc.
References isc::cb::ConfigCmdsImpl::getAllServers(), getAllServers4(), and isc::dhcp::ConfigBackendDHCPv4Mgr::instance().
Referenced by getAllServers4().
| void isc::cb::ConfigCmdsDhcp4Impl::getClientClass4 | ( | hooks::CalloutHandle & | callout_handle | ) |
Implements handler for remote-class4-get command.
| callout_handle | Callout handle provided to the callout. |
Definition at line 311 of file cb_cmds_dhcp4.cc.
References isc::cb::ConfigCmdsImpl::getClientClass(), getClientClass4(), and isc::dhcp::ConfigBackendDHCPv4Mgr::instance().
Referenced by getClientClass4().
| void isc::cb::ConfigCmdsDhcp4Impl::getGlobalOption4 | ( | hooks::CalloutHandle & | callout_handle | ) |
Implements handler for remote-option4-global-get command.
| callout_handle | Callout handle provided to the callout. |
Definition at line 409 of file cb_cmds_dhcp4.cc.
References isc::cb::ConfigCmdsImpl::getGlobalOption(), and isc::dhcp::ConfigBackendDHCPv4Mgr::instance().
| void isc::cb::ConfigCmdsDhcp4Impl::getGlobalParameter4 | ( | hooks::CalloutHandle & | callout_handle | ) |
Implements handler for remote-global-parameter4-get command.
| callout_handle | Callout handle provided to the callout. |
Definition at line 138 of file cb_cmds_dhcp4.cc.
References isc::cb::ConfigCmdsImpl::getGlobalParameter(), getGlobalParameter4(), and isc::dhcp::ConfigBackendDHCPv4Mgr::instance().
Referenced by getGlobalParameter4().
| void isc::cb::ConfigCmdsDhcp4Impl::getOptionDef4 | ( | hooks::CalloutHandle & | callout_handle | ) |
Implements handler for remote-option-def4-get command.
| callout_handle | Callout handle provided to the callout. |
Definition at line 358 of file cb_cmds_dhcp4.cc.
References isc::cb::ConfigCmdsImpl::getOptionDef(), getOptionDef4(), and isc::dhcp::ConfigBackendDHCPv4Mgr::instance().
Referenced by getOptionDef4().
| void isc::cb::ConfigCmdsDhcp4Impl::getServer4 | ( | hooks::CalloutHandle & | callout_handle | ) |
Implements handler for remote-server4-get command.
| callout_handle | Callout handle provided to the callout. |
Definition at line 453 of file cb_cmds_dhcp4.cc.
References isc::cb::ConfigCmdsImpl::getServer(), getServer4(), and isc::dhcp::ConfigBackendDHCPv4Mgr::instance().
Referenced by getServer4().
| void isc::cb::ConfigCmdsDhcp4Impl::getSharedNetwork4 | ( | hooks::CalloutHandle & | callout_handle | ) |
Implements handler for remote-shared-network4-get command.
| callout_handle | Callout handle provided to the callout. |
Definition at line 257 of file cb_cmds_dhcp4.cc.
References isc::cb::ConfigCmdsImpl::getSharedNetwork(), getSharedNetwork4(), and isc::dhcp::ConfigBackendDHCPv4Mgr::instance().
Referenced by getSharedNetwork4().
| void isc::cb::ConfigCmdsDhcp4Impl::getSubnet4Id | ( | hooks::CalloutHandle & | callout_handle | ) |
Implements handler for remote-subnet4-get-by-id command.
| callout_handle | Callout handle provided to the callout. |
Definition at line 196 of file cb_cmds_dhcp4.cc.
References isc::cb::ConfigCmdsImpl::getSubnetId(), and isc::dhcp::ConfigBackendDHCPv4Mgr::instance().
| void isc::cb::ConfigCmdsDhcp4Impl::getSubnet4Prefix | ( | hooks::CalloutHandle & | callout_handle | ) |
Implements handler for remote-subnet4-get-by-prefix command.
| callout_handle | Callout handle provided to the callout. |
Definition at line 207 of file cb_cmds_dhcp4.cc.
References isc::cb::ConfigCmdsImpl::getSubnetPrefix(), and isc::dhcp::ConfigBackendDHCPv4Mgr::instance().
| void isc::cb::ConfigCmdsDhcp4Impl::listSharedNetworks4 | ( | hooks::CalloutHandle & | callout_handle | ) |
Implements handler for remote-shared-network4-list command.
| callout_handle | Callout handle provided to the callout. |
Definition at line 276 of file cb_cmds_dhcp4.cc.
References isc::dhcp::ConfigBackendDHCPv4Mgr::instance(), and isc::cb::ConfigCmdsImpl::listSharedNetworks().
| void isc::cb::ConfigCmdsDhcp4Impl::listSubnets4 | ( | hooks::CalloutHandle & | callout_handle | ) |
Implements handler for remote-subnet4-list command.
| callout_handle | Callout handle provided to the callout. |
Definition at line 218 of file cb_cmds_dhcp4.cc.
References isc::dhcp::ConfigBackendDHCPv4Mgr::instance(), and isc::cb::ConfigCmdsImpl::listSubnets().
| void isc::cb::ConfigCmdsDhcp4Impl::setClientClass4 | ( | hooks::CalloutHandle & | callout_handle | ) |
Implements handler for remote-class4-set command.
| callout_handle | Callout handle provided to the callout. |
Definition at line 287 of file cb_cmds_dhcp4.cc.
References isc::cb::BaseConfigBackendMgr< ConfigBackendPoolType >::getPool(), isc::dhcp::ConfigBackendDHCPv4Mgr::instance(), and isc::cb::ConfigCmdsImpl::setClientClass().
| void isc::cb::ConfigCmdsDhcp4Impl::setGlobalOption4 | ( | hooks::CalloutHandle & | callout_handle | ) |
Implements handler for remote-option4-global-set command.
| callout_handle | Callout handle provided to the callout. |
Definition at line 382 of file cb_cmds_dhcp4.cc.
References isc::cb::BaseConfigBackendMgr< ConfigBackendPoolType >::getPool(), isc::dhcp::ConfigBackendDHCPv4Mgr::instance(), and isc::cb::ConfigCmdsImpl::setGlobalOption().
| void isc::cb::ConfigCmdsDhcp4Impl::setGlobalParameter4 | ( | hooks::CalloutHandle & | callout_handle | ) |
Implements handler for remote-global-parameter4-set command.
| callout_handle | Callout handle provided to the callout. |
Definition at line 113 of file cb_cmds_dhcp4.cc.
References isc::cb::BaseConfigBackendMgr< ConfigBackendPoolType >::getPool(), isc::dhcp::SimpleParser4::GLOBAL4_LIST_PARAMETER_TYPES, isc::dhcp::ConfigBackendDHCPv4Mgr::instance(), and isc::cb::ConfigCmdsImpl::setGlobalParameter().
| void isc::cb::ConfigCmdsDhcp4Impl::setOptionDef4 | ( | hooks::CalloutHandle & | callout_handle | ) |
Implements handler for remote-option-def4-set command.
| callout_handle | Callout handle provided to the callout. |
Definition at line 333 of file cb_cmds_dhcp4.cc.
References isc::cb::BaseConfigBackendMgr< ConfigBackendPoolType >::getPool(), isc::dhcp::ConfigBackendDHCPv4Mgr::instance(), and isc::cb::ConfigCmdsImpl::setOptionDef().
| void isc::cb::ConfigCmdsDhcp4Impl::setPoolOption4 | ( | hooks::CalloutHandle & | callout_handle | ) |
Implements handler for remote-option4-pool-set command.
| callout_handle | Callout handle provided to the callout. |
Definition at line 532 of file cb_cmds_dhcp4.cc.
References isc::cb::BaseConfigBackendMgr< ConfigBackendPoolType >::getPool(), isc::dhcp::ConfigBackendDHCPv4Mgr::instance(), and isc::cb::ConfigCmdsImpl::setPoolOption().
| void isc::cb::ConfigCmdsDhcp4Impl::setServer4 | ( | hooks::CalloutHandle & | callout_handle | ) |
Implements handler for remote-server4-set command.
| callout_handle | Callout handle provided to the callout. |
Definition at line 433 of file cb_cmds_dhcp4.cc.
References isc::cb::BaseConfigBackendMgr< ConfigBackendPoolType >::getPool(), isc::dhcp::ConfigBackendDHCPv4Mgr::instance(), and isc::cb::ConfigCmdsImpl::setServer().
| void isc::cb::ConfigCmdsDhcp4Impl::setSharedNetwork4 | ( | hooks::CalloutHandle & | callout_handle | ) |
Implements handler for remote-shared-network4-set command.
| callout_handle | Callout handle provided to the callout. |
Definition at line 228 of file cb_cmds_dhcp4.cc.
References isc::cb::BaseConfigBackendMgr< ConfigBackendPoolType >::getPool(), isc::dhcp::ConfigBackendDHCPv4Mgr::instance(), and isc::cb::ConfigCmdsImpl::setSharedNetwork().
| void isc::cb::ConfigCmdsDhcp4Impl::setSharedNetworkOption4 | ( | hooks::CalloutHandle & | callout_handle | ) |
Implements handler for remote-option4-network-set command.
| callout_handle | Callout handle provided to the callout. |
Definition at line 472 of file cb_cmds_dhcp4.cc.
References isc::cb::BaseConfigBackendMgr< ConfigBackendPoolType >::getPool(), isc::dhcp::ConfigBackendDHCPv4Mgr::instance(), and isc::cb::ConfigCmdsImpl::setSharedNetworkOption().
| void isc::cb::ConfigCmdsDhcp4Impl::setSubnet4 | ( | hooks::CalloutHandle & | callout_handle | ) |
Implements handler for remote-subnet4-set command.
| callout_handle | Callout handle provided to the callout. |
Definition at line 161 of file cb_cmds_dhcp4.cc.
References isc::cb::BaseConfigBackendMgr< ConfigBackendPoolType >::getPool(), isc::dhcp::ConfigBackendDHCPv4Mgr::instance(), and isc::cb::ConfigCmdsImpl::setSubnet().
| void isc::cb::ConfigCmdsDhcp4Impl::setSubnetOption4 | ( | hooks::CalloutHandle & | callout_handle | ) |
Implements handler for remote-option4-subnet-set command.
| callout_handle | Callout handle provided to the callout. |
Definition at line 502 of file cb_cmds_dhcp4.cc.
References isc::cb::BaseConfigBackendMgr< ConfigBackendPoolType >::getPool(), isc::dhcp::ConfigBackendDHCPv4Mgr::instance(), and isc::cb::ConfigCmdsImpl::setSubnetOption().
|
static |
Supported global maps parameters (scalars only).
Definition at line 214 of file cb_cmds_dhcp4.h.