Kea 3.3.4
isc::cb::ConfigCmdsDhcp4Impl Class Reference

Implementation of the callouts for cb_cmds library for DHCPv4. More...

#include <cb_cmds_dhcp4.h>

Inheritance diagram for isc::cb::ConfigCmdsDhcp4Impl:

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.

Detailed Description

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.

Member Function Documentation

◆ delClientClass4()

void isc::cb::ConfigCmdsDhcp4Impl::delClientClass4 ( hooks::CalloutHandle & callout_handle)

Implements handler for remote-class4-del command.

Parameters
callout_handleCallout 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().

Here is the call graph for this function:

◆ delGlobalOption4()

void isc::cb::ConfigCmdsDhcp4Impl::delGlobalOption4 ( hooks::CalloutHandle & callout_handle)

Implements handler for remote-option4-global-del command.

Parameters
callout_handleCallout 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().

Here is the call graph for this function:

◆ delGlobalParameter4()

void isc::cb::ConfigCmdsDhcp4Impl::delGlobalParameter4 ( hooks::CalloutHandle & callout_handle)

Implements handler for remote-global-parameter4-del command.

Parameters
callout_handleCallout 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().

Here is the call graph for this function:

◆ delOptionDef4()

void isc::cb::ConfigCmdsDhcp4Impl::delOptionDef4 ( hooks::CalloutHandle & callout_handle)

Implements handler for remote-option-def4-del command.

Parameters
callout_handleCallout 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().

Here is the call graph for this function:

◆ delPoolOption4()

void isc::cb::ConfigCmdsDhcp4Impl::delPoolOption4 ( hooks::CalloutHandle & callout_handle)

Implements handler for remote-option4-pool-del command.

Parameters
callout_handleCallout 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().

Here is the call graph for this function:

◆ delServer4()

void isc::cb::ConfigCmdsDhcp4Impl::delServer4 ( hooks::CalloutHandle & callout_handle)

Implements handler for remote-server4-del command.

Parameters
callout_handleCallout 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().

Here is the call graph for this function:

◆ delSharedNetwork4()

void isc::cb::ConfigCmdsDhcp4Impl::delSharedNetwork4 ( hooks::CalloutHandle & callout_handle)

Implements handler for remote-shared-network4-del command.

Parameters
callout_handleCallout 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().

Here is the call graph for this function:

◆ delSharedNetworkOption4()

void isc::cb::ConfigCmdsDhcp4Impl::delSharedNetworkOption4 ( hooks::CalloutHandle & callout_handle)

Implements handler for remote-option4-network-del command.

Parameters
callout_handleCallout 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().

Here is the call graph for this function:

◆ delSubnet4Id()

void isc::cb::ConfigCmdsDhcp4Impl::delSubnet4Id ( hooks::CalloutHandle & callout_handle)

Implements handler for remote-subnet4-del-by-id command.

Parameters
callout_handleCallout 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().

Here is the call graph for this function:

◆ delSubnet4Prefix()

void isc::cb::ConfigCmdsDhcp4Impl::delSubnet4Prefix ( hooks::CalloutHandle & callout_handle)

Implements handler for remote-subnet4-del-by-prefix command.

Parameters
callout_handleCallout 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().

Here is the call graph for this function:

◆ delSubnetOption4()

void isc::cb::ConfigCmdsDhcp4Impl::delSubnetOption4 ( hooks::CalloutHandle & callout_handle)

Implements handler for remote-option4-subnet-del command.

Parameters
callout_handleCallout 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().

Here is the call graph for this function:

◆ getAllClientClasses4()

void isc::cb::ConfigCmdsDhcp4Impl::getAllClientClasses4 ( hooks::CalloutHandle & callout_handle)

Implements handler for remote-class4-get-all command.

Parameters
callout_handleCallout 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().

Here is the call graph for this function:

◆ getAllGlobalOptions4()

void isc::cb::ConfigCmdsDhcp4Impl::getAllGlobalOptions4 ( hooks::CalloutHandle & callout_handle)

Implements handler for remote-option4-global-get-all command.

Parameters
callout_handleCallout 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().

Here is the call graph for this function:

◆ getAllGlobalParameters4()

void isc::cb::ConfigCmdsDhcp4Impl::getAllGlobalParameters4 ( hooks::CalloutHandle & callout_handle)

Implements handler for remote-global-parameter4-get-all command.

Parameters
callout_handleCallout 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().

Here is the call graph for this function:

◆ getAllOptionDefs4()

void isc::cb::ConfigCmdsDhcp4Impl::getAllOptionDefs4 ( hooks::CalloutHandle & callout_handle)

Implements handler for remote-option-def4-get-all command.

Parameters
callout_handleCallout 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().

Here is the call graph for this function:

◆ getAllServers4()

void isc::cb::ConfigCmdsDhcp4Impl::getAllServers4 ( hooks::CalloutHandle & callout_handle)

Implements handler for remote-server4-get-all command.

Parameters
callout_handleCallout 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().

Here is the call graph for this function:

◆ getClientClass4()

void isc::cb::ConfigCmdsDhcp4Impl::getClientClass4 ( hooks::CalloutHandle & callout_handle)

Implements handler for remote-class4-get command.

Parameters
callout_handleCallout 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().

Here is the call graph for this function:

◆ getGlobalOption4()

void isc::cb::ConfigCmdsDhcp4Impl::getGlobalOption4 ( hooks::CalloutHandle & callout_handle)

Implements handler for remote-option4-global-get command.

Parameters
callout_handleCallout 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().

Here is the call graph for this function:

◆ getGlobalParameter4()

void isc::cb::ConfigCmdsDhcp4Impl::getGlobalParameter4 ( hooks::CalloutHandle & callout_handle)

Implements handler for remote-global-parameter4-get command.

Parameters
callout_handleCallout 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().

Here is the call graph for this function:

◆ getOptionDef4()

void isc::cb::ConfigCmdsDhcp4Impl::getOptionDef4 ( hooks::CalloutHandle & callout_handle)

Implements handler for remote-option-def4-get command.

Parameters
callout_handleCallout 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().

Here is the call graph for this function:

◆ getServer4()

void isc::cb::ConfigCmdsDhcp4Impl::getServer4 ( hooks::CalloutHandle & callout_handle)

Implements handler for remote-server4-get command.

Parameters
callout_handleCallout 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().

Here is the call graph for this function:

◆ getSharedNetwork4()

void isc::cb::ConfigCmdsDhcp4Impl::getSharedNetwork4 ( hooks::CalloutHandle & callout_handle)

Implements handler for remote-shared-network4-get command.

Parameters
callout_handleCallout 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().

Here is the call graph for this function:

◆ getSubnet4Id()

void isc::cb::ConfigCmdsDhcp4Impl::getSubnet4Id ( hooks::CalloutHandle & callout_handle)

Implements handler for remote-subnet4-get-by-id command.

Parameters
callout_handleCallout 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().

Here is the call graph for this function:

◆ getSubnet4Prefix()

void isc::cb::ConfigCmdsDhcp4Impl::getSubnet4Prefix ( hooks::CalloutHandle & callout_handle)

Implements handler for remote-subnet4-get-by-prefix command.

Parameters
callout_handleCallout 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().

Here is the call graph for this function:

◆ listSharedNetworks4()

void isc::cb::ConfigCmdsDhcp4Impl::listSharedNetworks4 ( hooks::CalloutHandle & callout_handle)

Implements handler for remote-shared-network4-list command.

Parameters
callout_handleCallout 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().

Here is the call graph for this function:

◆ listSubnets4()

void isc::cb::ConfigCmdsDhcp4Impl::listSubnets4 ( hooks::CalloutHandle & callout_handle)

Implements handler for remote-subnet4-list command.

Parameters
callout_handleCallout 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().

Here is the call graph for this function:

◆ setClientClass4()

void isc::cb::ConfigCmdsDhcp4Impl::setClientClass4 ( hooks::CalloutHandle & callout_handle)

Implements handler for remote-class4-set command.

Parameters
callout_handleCallout 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().

Here is the call graph for this function:

◆ setGlobalOption4()

void isc::cb::ConfigCmdsDhcp4Impl::setGlobalOption4 ( hooks::CalloutHandle & callout_handle)

Implements handler for remote-option4-global-set command.

Parameters
callout_handleCallout 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().

Here is the call graph for this function:

◆ setGlobalParameter4()

void isc::cb::ConfigCmdsDhcp4Impl::setGlobalParameter4 ( hooks::CalloutHandle & callout_handle)

Implements handler for remote-global-parameter4-set command.

Parameters
callout_handleCallout 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().

Here is the call graph for this function:

◆ setOptionDef4()

void isc::cb::ConfigCmdsDhcp4Impl::setOptionDef4 ( hooks::CalloutHandle & callout_handle)

Implements handler for remote-option-def4-set command.

Parameters
callout_handleCallout 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().

Here is the call graph for this function:

◆ setPoolOption4()

void isc::cb::ConfigCmdsDhcp4Impl::setPoolOption4 ( hooks::CalloutHandle & callout_handle)

Implements handler for remote-option4-pool-set command.

Parameters
callout_handleCallout 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().

Here is the call graph for this function:

◆ setServer4()

void isc::cb::ConfigCmdsDhcp4Impl::setServer4 ( hooks::CalloutHandle & callout_handle)

Implements handler for remote-server4-set command.

Parameters
callout_handleCallout 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().

Here is the call graph for this function:

◆ setSharedNetwork4()

void isc::cb::ConfigCmdsDhcp4Impl::setSharedNetwork4 ( hooks::CalloutHandle & callout_handle)

Implements handler for remote-shared-network4-set command.

Parameters
callout_handleCallout 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().

Here is the call graph for this function:

◆ setSharedNetworkOption4()

void isc::cb::ConfigCmdsDhcp4Impl::setSharedNetworkOption4 ( hooks::CalloutHandle & callout_handle)

Implements handler for remote-option4-network-set command.

Parameters
callout_handleCallout 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().

Here is the call graph for this function:

◆ setSubnet4()

void isc::cb::ConfigCmdsDhcp4Impl::setSubnet4 ( hooks::CalloutHandle & callout_handle)

Implements handler for remote-subnet4-set command.

Parameters
callout_handleCallout 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().

Here is the call graph for this function:

◆ setSubnetOption4()

void isc::cb::ConfigCmdsDhcp4Impl::setSubnetOption4 ( hooks::CalloutHandle & callout_handle)

Implements handler for remote-option4-subnet-set command.

Parameters
callout_handleCallout 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().

Here is the call graph for this function:

Member Data Documentation

◆ GLOBAL4_MAP_PARAMETERS

const SimpleKeywords isc::cb::ConfigCmdsDhcp4Impl::GLOBAL4_MAP_PARAMETERS
static
Initial value:
= {
{ "compatibility.ignore-dhcp-server-identifier", Element::boolean },
{ "compatibility.ignore-rai-link-selection", Element::boolean },
{ "compatibility.lenient-option-parsing", Element::boolean },
{ "compatibility.exclude-first-last-24", Element::boolean },
{ "dhcp-ddns.enable-updates", Element::boolean },
{ "dhcp-ddns.max-queue-size", Element::integer },
{ "dhcp-ddns.ncr-format", Element::string },
{ "dhcp-ddns.ncr-protocol", Element::string },
{ "dhcp-ddns.sender-ip", Element::string },
{ "dhcp-ddns.sender-port", Element::integer },
{ "dhcp-ddns.server-ip", Element::string },
{ "dhcp-ddns.server-port", Element::integer },
{ "expired-leases-processing.flush-reclaimed-timer-wait-time", Element::integer },
{ "expired-leases-processing.hold-reclaimed-time", Element::integer },
{ "expired-leases-processing.max-reclaim-leases", Element::integer },
{ "expired-leases-processing.max-reclaim-time", Element::integer },
{ "expired-leases-processing.reclaim-timer-wait-time", Element::integer },
{ "expired-leases-processing.unwarned-reclaim-cycles", Element::integer },
{ "multi-threading.enable-multi-threading", Element::boolean },
{ "multi-threading.thread-pool-size", Element::integer },
{ "multi-threading.packet-queue-size", Element::integer },
{ "sanity-checks.lease-checks", Element::string },
{ "sanity-checks.extended-info-checks", Element::string },
{ "dhcp-queue-control.enable-queue", Element::boolean },
{ "dhcp-queue-control.queue-type", Element::string },
{ "dhcp-queue-control.capacity", Element::integer },
}
@ integer
Definition data.h:153
@ boolean
Definition data.h:155
@ string
Definition data.h:157

Supported global maps parameters (scalars only).

Definition at line 214 of file cb_cmds_dhcp4.h.


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