Kea 3.3.4
isc::cb::ConfigCmdsDhcp6Impl Class Reference

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

#include <cb_cmds_dhcp6.h>

Inheritance diagram for isc::cb::ConfigCmdsDhcp6Impl:

Public Member Functions

void delClientClass6 (hooks::CalloutHandle &callout_handle)
 Implements handler for remote-class6-del command.
void delGlobalOption6 (hooks::CalloutHandle &callout_handle)
 Implements handler for remote-option6-global-del command.
void delGlobalParameter6 (hooks::CalloutHandle &callout_handle)
 Implements handler for remote-global-parameter6-del command.
void delOptionDef6 (hooks::CalloutHandle &callout_handle)
 Implements handler for remote-option-def6-del command.
void delPdPoolOption6 (hooks::CalloutHandle &callout_handle)
 Implements handler for remote-option6-pd-pool-del command.
void delPoolOption6 (hooks::CalloutHandle &callout_handle)
 Implements handler for remote-option6-pool-del command.
void delServer6 (hooks::CalloutHandle &callout_handle)
 Implements handler for remote-server6-del command.
void delSharedNetwork6 (hooks::CalloutHandle &callout_handle)
 Implements handler for remote-shared-network6-del command.
void delSharedNetworkOption6 (hooks::CalloutHandle &callout_handle)
 Implements handler for remote-option6-network-del command.
void delSubnet6Id (hooks::CalloutHandle &callout_handle)
 Implements handler for remote-subnet6-del-by-id command.
void delSubnet6Prefix (hooks::CalloutHandle &callout_handle)
 Implements handler for remote-subnet6-del-by-prefix command.
void delSubnetOption6 (hooks::CalloutHandle &callout_handle)
 Implements handler for remote-option6-subnet-del command.
void getAllClientClasses6 (hooks::CalloutHandle &callout_handle)
 Implements handler for remote-class6-get-all command.
void getAllGlobalOptions6 (hooks::CalloutHandle &callout_handle)
 Implements handler for remote-option6-global-get-all command.
void getAllGlobalParameters6 (hooks::CalloutHandle &callout_handle)
 Implements handler for remote-global-parameter6-get-all command.
void getAllOptionDefs6 (hooks::CalloutHandle &callout_handle)
 Implements handler for remote-option-def6-get-all command.
void getAllServers6 (hooks::CalloutHandle &callout_handle)
 Implements handler for remote-server6-get-all command.
void getClientClass6 (hooks::CalloutHandle &callout_handle)
 Implements handler for remote-class6-get command.
void getGlobalOption6 (hooks::CalloutHandle &callout_handle)
 Implements handler for remote-option6-global-get command.
void getGlobalParameter6 (hooks::CalloutHandle &callout_handle)
 Implements handler for remote-global-parameter6-get command.
void getOptionDef6 (hooks::CalloutHandle &callout_handle)
 Implements handler for remote-option-def6-get command.
void getServer6 (hooks::CalloutHandle &callout_handle)
 Implements handler for remote-server6-get command.
void getSharedNetwork6 (hooks::CalloutHandle &callout_handle)
 Implements handler for remote-shared-network6-get command.
void getSubnet6Id (hooks::CalloutHandle &callout_handle)
 Implements handler for remote-subnet6-get-by-id command.
void getSubnet6Prefix (hooks::CalloutHandle &callout_handle)
 Implements handler for remote-subnet6-get-by-prefix command.
void listSharedNetworks6 (hooks::CalloutHandle &callout_handle)
 Implements handler for remote-shared-network6-list command.
void listSubnets6 (hooks::CalloutHandle &callout_handle)
 Implements handler for remote-subnet6-list command.
void setClientClass6 (hooks::CalloutHandle &callout_handle)
 Implements handler for remote-class6-set command.
void setGlobalOption6 (hooks::CalloutHandle &callout_handle)
 Implements handler for remote-option6-global-set command.
void setGlobalParameter6 (hooks::CalloutHandle &callout_handle)
 Implements handler for remote-global-parameter6-set command.
void setOptionDef6 (hooks::CalloutHandle &callout_handle)
 Implements handler for remote-option-def6-set command.
void setPdPoolOption6 (hooks::CalloutHandle &callout_handle)
 Implements handler for remote-option6-pd-pool-set command.
void setPoolOption6 (hooks::CalloutHandle &callout_handle)
 Implements handler for remote-option6-pool-set command.
void setServer6 (hooks::CalloutHandle &callout_handle)
 Implements handler for remote-server6-set command.
void setSharedNetwork6 (hooks::CalloutHandle &callout_handle)
 Implements handler for remote-shared-network6-set command.
void setSharedNetworkOption6 (hooks::CalloutHandle &callout_handle)
 Implements handler for remote-option6-network-set command.
void setSubnet6 (hooks::CalloutHandle &callout_handle)
 Implements handler for remote-subnet6-set command.
void setSubnetOption6 (hooks::CalloutHandle &callout_handle)
 Implements handler for remote-option6-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 GLOBAL6_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 DHCPv6.

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_dhcp6.h.

Member Function Documentation

◆ delClientClass6()

void isc::cb::ConfigCmdsDhcp6Impl::delClientClass6 ( hooks::CalloutHandle & callout_handle)

Implements handler for remote-class6-del command.

Parameters
callout_handleCallout handle provided to the callout.

Definition at line 301 of file cb_cmds_dhcp6.cc.

References isc::cb::ConfigCmdsImpl::delClientClass(), and isc::dhcp::ConfigBackendDHCPv6Mgr::instance().

Here is the call graph for this function:

◆ delGlobalOption6()

void isc::cb::ConfigCmdsDhcp6Impl::delGlobalOption6 ( hooks::CalloutHandle & callout_handle)

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

Parameters
callout_handleCallout handle provided to the callout.

Definition at line 396 of file cb_cmds_dhcp6.cc.

References isc::cb::ConfigCmdsImpl::delGlobalOption(), and isc::dhcp::ConfigBackendDHCPv6Mgr::instance().

Here is the call graph for this function:

◆ delGlobalParameter6()

void isc::cb::ConfigCmdsDhcp6Impl::delGlobalParameter6 ( hooks::CalloutHandle & callout_handle)

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

Parameters
callout_handleCallout handle provided to the callout.

Definition at line 127 of file cb_cmds_dhcp6.cc.

References isc::cb::ConfigCmdsImpl::delGlobalParameter(), and isc::dhcp::ConfigBackendDHCPv6Mgr::instance().

Here is the call graph for this function:

◆ delOptionDef6()

void isc::cb::ConfigCmdsDhcp6Impl::delOptionDef6 ( hooks::CalloutHandle & callout_handle)

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

Parameters
callout_handleCallout handle provided to the callout.

Definition at line 345 of file cb_cmds_dhcp6.cc.

References isc::cb::ConfigCmdsImpl::delOptionDef(), and isc::dhcp::ConfigBackendDHCPv6Mgr::instance().

Here is the call graph for this function:

◆ delPdPoolOption6()

void isc::cb::ConfigCmdsDhcp6Impl::delPdPoolOption6 ( hooks::CalloutHandle & callout_handle)

◆ delPoolOption6()

void isc::cb::ConfigCmdsDhcp6Impl::delPoolOption6 ( hooks::CalloutHandle & callout_handle)

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

Parameters
callout_handleCallout handle provided to the callout.

Definition at line 550 of file cb_cmds_dhcp6.cc.

References isc::cb::ConfigCmdsImpl::delPoolOption(), and isc::dhcp::ConfigBackendDHCPv6Mgr::instance().

Here is the call graph for this function:

◆ delServer6()

void isc::cb::ConfigCmdsDhcp6Impl::delServer6 ( hooks::CalloutHandle & callout_handle)

Implements handler for remote-server6-del command.

Parameters
callout_handleCallout handle provided to the callout.

Definition at line 444 of file cb_cmds_dhcp6.cc.

References isc::cb::ConfigCmdsImpl::delServer(), and isc::dhcp::ConfigBackendDHCPv6Mgr::instance().

Here is the call graph for this function:

◆ delSharedNetwork6()

void isc::cb::ConfigCmdsDhcp6Impl::delSharedNetwork6 ( hooks::CalloutHandle & callout_handle)

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

Parameters
callout_handleCallout handle provided to the callout.

Definition at line 241 of file cb_cmds_dhcp6.cc.

References isc::cb::ConfigCmdsImpl::delSharedNetwork(), isc::cb::BaseConfigBackendMgr< ConfigBackendPoolType >::getPool(), and isc::dhcp::ConfigBackendDHCPv6Mgr::instance().

Here is the call graph for this function:

◆ delSharedNetworkOption6()

void isc::cb::ConfigCmdsDhcp6Impl::delSharedNetworkOption6 ( hooks::CalloutHandle & callout_handle)

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

Parameters
callout_handleCallout handle provided to the callout.

Definition at line 488 of file cb_cmds_dhcp6.cc.

References isc::cb::ConfigCmdsImpl::delSharedNetworkOption(), and isc::dhcp::ConfigBackendDHCPv6Mgr::instance().

Here is the call graph for this function:

◆ delSubnet6Id()

void isc::cb::ConfigCmdsDhcp6Impl::delSubnet6Id ( hooks::CalloutHandle & callout_handle)

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

Parameters
callout_handleCallout handle provided to the callout.

Definition at line 175 of file cb_cmds_dhcp6.cc.

References isc::cb::ConfigCmdsImpl::delSubnetId(), and isc::dhcp::ConfigBackendDHCPv6Mgr::instance().

Here is the call graph for this function:

◆ delSubnet6Prefix()

void isc::cb::ConfigCmdsDhcp6Impl::delSubnet6Prefix ( hooks::CalloutHandle & callout_handle)

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

Parameters
callout_handleCallout handle provided to the callout.

Definition at line 186 of file cb_cmds_dhcp6.cc.

References isc::cb::ConfigCmdsImpl::delSubnetPrefix(), and isc::dhcp::ConfigBackendDHCPv6Mgr::instance().

Here is the call graph for this function:

◆ delSubnetOption6()

void isc::cb::ConfigCmdsDhcp6Impl::delSubnetOption6 ( hooks::CalloutHandle & callout_handle)

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

Parameters
callout_handleCallout handle provided to the callout.

Definition at line 518 of file cb_cmds_dhcp6.cc.

References isc::cb::ConfigCmdsImpl::delSubnetOption(), and isc::dhcp::ConfigBackendDHCPv6Mgr::instance().

Here is the call graph for this function:

◆ getAllClientClasses6()

void isc::cb::ConfigCmdsDhcp6Impl::getAllClientClasses6 ( hooks::CalloutHandle & callout_handle)

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

Parameters
callout_handleCallout handle provided to the callout.

Definition at line 324 of file cb_cmds_dhcp6.cc.

References isc::cb::ConfigCmdsImpl::getAllClientClasses(), getAllClientClasses6(), and isc::dhcp::ConfigBackendDHCPv6Mgr::instance().

Referenced by getAllClientClasses6().

Here is the call graph for this function:

◆ getAllGlobalOptions6()

void isc::cb::ConfigCmdsDhcp6Impl::getAllGlobalOptions6 ( hooks::CalloutHandle & callout_handle)

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

Parameters
callout_handleCallout handle provided to the callout.

Definition at line 424 of file cb_cmds_dhcp6.cc.

References isc::cb::ConfigCmdsImpl::getAllGlobalOptions(), and isc::dhcp::ConfigBackendDHCPv6Mgr::instance().

Here is the call graph for this function:

◆ getAllGlobalParameters6()

void isc::cb::ConfigCmdsDhcp6Impl::getAllGlobalParameters6 ( hooks::CalloutHandle & callout_handle)

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

Parameters
callout_handleCallout handle provided to the callout.

Definition at line 151 of file cb_cmds_dhcp6.cc.

References isc::cb::ConfigCmdsImpl::getAllGlobalParameters(), getAllGlobalParameters6(), and isc::dhcp::ConfigBackendDHCPv6Mgr::instance().

Referenced by getAllGlobalParameters6().

Here is the call graph for this function:

◆ getAllOptionDefs6()

void isc::cb::ConfigCmdsDhcp6Impl::getAllOptionDefs6 ( hooks::CalloutHandle & callout_handle)

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

Parameters
callout_handleCallout handle provided to the callout.

Definition at line 372 of file cb_cmds_dhcp6.cc.

References isc::cb::ConfigCmdsImpl::getAllOptionDefs(), getAllOptionDefs6(), and isc::dhcp::ConfigBackendDHCPv6Mgr::instance().

Referenced by getAllOptionDefs6().

Here is the call graph for this function:

◆ getAllServers6()

void isc::cb::ConfigCmdsDhcp6Impl::getAllServers6 ( hooks::CalloutHandle & callout_handle)

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

Parameters
callout_handleCallout handle provided to the callout.

Definition at line 464 of file cb_cmds_dhcp6.cc.

References isc::cb::ConfigCmdsImpl::getAllServers(), getAllServers6(), and isc::dhcp::ConfigBackendDHCPv6Mgr::instance().

Referenced by getAllServers6().

Here is the call graph for this function:

◆ getClientClass6()

void isc::cb::ConfigCmdsDhcp6Impl::getClientClass6 ( hooks::CalloutHandle & callout_handle)

Implements handler for remote-class6-get command.

Parameters
callout_handleCallout handle provided to the callout.

Definition at line 312 of file cb_cmds_dhcp6.cc.

References isc::cb::ConfigCmdsImpl::getClientClass(), getClientClass6(), and isc::dhcp::ConfigBackendDHCPv6Mgr::instance().

Referenced by getClientClass6().

Here is the call graph for this function:

◆ getGlobalOption6()

void isc::cb::ConfigCmdsDhcp6Impl::getGlobalOption6 ( hooks::CalloutHandle & callout_handle)

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

Parameters
callout_handleCallout handle provided to the callout.

Definition at line 410 of file cb_cmds_dhcp6.cc.

References isc::cb::ConfigCmdsImpl::getGlobalOption(), and isc::dhcp::ConfigBackendDHCPv6Mgr::instance().

Here is the call graph for this function:

◆ getGlobalParameter6()

void isc::cb::ConfigCmdsDhcp6Impl::getGlobalParameter6 ( hooks::CalloutHandle & callout_handle)

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

Parameters
callout_handleCallout handle provided to the callout.

Definition at line 139 of file cb_cmds_dhcp6.cc.

References isc::cb::ConfigCmdsImpl::getGlobalParameter(), getGlobalParameter6(), and isc::dhcp::ConfigBackendDHCPv6Mgr::instance().

Referenced by getGlobalParameter6().

Here is the call graph for this function:

◆ getOptionDef6()

void isc::cb::ConfigCmdsDhcp6Impl::getOptionDef6 ( hooks::CalloutHandle & callout_handle)

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

Parameters
callout_handleCallout handle provided to the callout.

Definition at line 359 of file cb_cmds_dhcp6.cc.

References isc::cb::ConfigCmdsImpl::getOptionDef(), getOptionDef6(), and isc::dhcp::ConfigBackendDHCPv6Mgr::instance().

Referenced by getOptionDef6().

Here is the call graph for this function:

◆ getServer6()

void isc::cb::ConfigCmdsDhcp6Impl::getServer6 ( hooks::CalloutHandle & callout_handle)

Implements handler for remote-server6-get command.

Parameters
callout_handleCallout handle provided to the callout.

Definition at line 454 of file cb_cmds_dhcp6.cc.

References isc::cb::ConfigCmdsImpl::getServer(), getServer6(), and isc::dhcp::ConfigBackendDHCPv6Mgr::instance().

Referenced by getServer6().

Here is the call graph for this function:

◆ getSharedNetwork6()

void isc::cb::ConfigCmdsDhcp6Impl::getSharedNetwork6 ( hooks::CalloutHandle & callout_handle)

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

Parameters
callout_handleCallout handle provided to the callout.

Definition at line 258 of file cb_cmds_dhcp6.cc.

References isc::cb::ConfigCmdsImpl::getSharedNetwork(), getSharedNetwork6(), and isc::dhcp::ConfigBackendDHCPv6Mgr::instance().

Referenced by getSharedNetwork6().

Here is the call graph for this function:

◆ getSubnet6Id()

void isc::cb::ConfigCmdsDhcp6Impl::getSubnet6Id ( hooks::CalloutHandle & callout_handle)

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

Parameters
callout_handleCallout handle provided to the callout.

Definition at line 197 of file cb_cmds_dhcp6.cc.

References isc::cb::ConfigCmdsImpl::getSubnetId(), and isc::dhcp::ConfigBackendDHCPv6Mgr::instance().

Here is the call graph for this function:

◆ getSubnet6Prefix()

void isc::cb::ConfigCmdsDhcp6Impl::getSubnet6Prefix ( hooks::CalloutHandle & callout_handle)

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

Parameters
callout_handleCallout handle provided to the callout.

Definition at line 208 of file cb_cmds_dhcp6.cc.

References isc::cb::ConfigCmdsImpl::getSubnetPrefix(), and isc::dhcp::ConfigBackendDHCPv6Mgr::instance().

Here is the call graph for this function:

◆ listSharedNetworks6()

void isc::cb::ConfigCmdsDhcp6Impl::listSharedNetworks6 ( hooks::CalloutHandle & callout_handle)

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

Parameters
callout_handleCallout handle provided to the callout.

Definition at line 277 of file cb_cmds_dhcp6.cc.

References isc::dhcp::ConfigBackendDHCPv6Mgr::instance(), and isc::cb::ConfigCmdsImpl::listSharedNetworks().

Here is the call graph for this function:

◆ listSubnets6()

void isc::cb::ConfigCmdsDhcp6Impl::listSubnets6 ( hooks::CalloutHandle & callout_handle)

Implements handler for remote-subnet6-list command.

Parameters
callout_handleCallout handle provided to the callout.

Definition at line 219 of file cb_cmds_dhcp6.cc.

References isc::dhcp::ConfigBackendDHCPv6Mgr::instance(), and isc::cb::ConfigCmdsImpl::listSubnets().

Here is the call graph for this function:

◆ setClientClass6()

void isc::cb::ConfigCmdsDhcp6Impl::setClientClass6 ( hooks::CalloutHandle & callout_handle)

Implements handler for remote-class6-set command.

Parameters
callout_handleCallout handle provided to the callout.

Definition at line 288 of file cb_cmds_dhcp6.cc.

References isc::cb::BaseConfigBackendMgr< ConfigBackendPoolType >::getPool(), isc::dhcp::ConfigBackendDHCPv6Mgr::instance(), and isc::cb::ConfigCmdsImpl::setClientClass().

Here is the call graph for this function:

◆ setGlobalOption6()

void isc::cb::ConfigCmdsDhcp6Impl::setGlobalOption6 ( hooks::CalloutHandle & callout_handle)

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

Parameters
callout_handleCallout handle provided to the callout.

Definition at line 383 of file cb_cmds_dhcp6.cc.

References isc::cb::BaseConfigBackendMgr< ConfigBackendPoolType >::getPool(), isc::dhcp::ConfigBackendDHCPv6Mgr::instance(), and isc::cb::ConfigCmdsImpl::setGlobalOption().

Here is the call graph for this function:

◆ setGlobalParameter6()

void isc::cb::ConfigCmdsDhcp6Impl::setGlobalParameter6 ( hooks::CalloutHandle & callout_handle)

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

Parameters
callout_handleCallout handle provided to the callout.

Definition at line 114 of file cb_cmds_dhcp6.cc.

References isc::cb::BaseConfigBackendMgr< ConfigBackendPoolType >::getPool(), isc::dhcp::SimpleParser6::GLOBAL6_LIST_PARAMETER_TYPES, isc::dhcp::ConfigBackendDHCPv6Mgr::instance(), and isc::cb::ConfigCmdsImpl::setGlobalParameter().

Here is the call graph for this function:

◆ setOptionDef6()

void isc::cb::ConfigCmdsDhcp6Impl::setOptionDef6 ( hooks::CalloutHandle & callout_handle)

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

Parameters
callout_handleCallout handle provided to the callout.

Definition at line 334 of file cb_cmds_dhcp6.cc.

References isc::cb::BaseConfigBackendMgr< ConfigBackendPoolType >::getPool(), isc::dhcp::ConfigBackendDHCPv6Mgr::instance(), and isc::cb::ConfigCmdsImpl::setOptionDef().

Here is the call graph for this function:

◆ setPdPoolOption6()

void isc::cb::ConfigCmdsDhcp6Impl::setPdPoolOption6 ( hooks::CalloutHandle & callout_handle)

◆ setPoolOption6()

void isc::cb::ConfigCmdsDhcp6Impl::setPoolOption6 ( hooks::CalloutHandle & callout_handle)

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

Parameters
callout_handleCallout handle provided to the callout.

Definition at line 533 of file cb_cmds_dhcp6.cc.

References isc::cb::BaseConfigBackendMgr< ConfigBackendPoolType >::getPool(), isc::dhcp::ConfigBackendDHCPv6Mgr::instance(), and isc::cb::ConfigCmdsImpl::setPoolOption().

Here is the call graph for this function:

◆ setServer6()

void isc::cb::ConfigCmdsDhcp6Impl::setServer6 ( hooks::CalloutHandle & callout_handle)

Implements handler for remote-server6-set command.

Parameters
callout_handleCallout handle provided to the callout.

Definition at line 434 of file cb_cmds_dhcp6.cc.

References isc::cb::BaseConfigBackendMgr< ConfigBackendPoolType >::getPool(), isc::dhcp::ConfigBackendDHCPv6Mgr::instance(), and isc::cb::ConfigCmdsImpl::setServer().

Here is the call graph for this function:

◆ setSharedNetwork6()

void isc::cb::ConfigCmdsDhcp6Impl::setSharedNetwork6 ( hooks::CalloutHandle & callout_handle)

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

Parameters
callout_handleCallout handle provided to the callout.

Definition at line 229 of file cb_cmds_dhcp6.cc.

References isc::cb::BaseConfigBackendMgr< ConfigBackendPoolType >::getPool(), isc::dhcp::ConfigBackendDHCPv6Mgr::instance(), and isc::cb::ConfigCmdsImpl::setSharedNetwork().

Here is the call graph for this function:

◆ setSharedNetworkOption6()

void isc::cb::ConfigCmdsDhcp6Impl::setSharedNetworkOption6 ( hooks::CalloutHandle & callout_handle)

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

Parameters
callout_handleCallout handle provided to the callout.

Definition at line 473 of file cb_cmds_dhcp6.cc.

References isc::cb::BaseConfigBackendMgr< ConfigBackendPoolType >::getPool(), isc::dhcp::ConfigBackendDHCPv6Mgr::instance(), and isc::cb::ConfigCmdsImpl::setSharedNetworkOption().

Here is the call graph for this function:

◆ setSubnet6()

void isc::cb::ConfigCmdsDhcp6Impl::setSubnet6 ( hooks::CalloutHandle & callout_handle)

Implements handler for remote-subnet6-set command.

Parameters
callout_handleCallout handle provided to the callout.

Definition at line 162 of file cb_cmds_dhcp6.cc.

References isc::cb::BaseConfigBackendMgr< ConfigBackendPoolType >::getPool(), isc::dhcp::ConfigBackendDHCPv6Mgr::instance(), and isc::cb::ConfigCmdsImpl::setSubnet().

Here is the call graph for this function:

◆ setSubnetOption6()

void isc::cb::ConfigCmdsDhcp6Impl::setSubnetOption6 ( hooks::CalloutHandle & callout_handle)

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

Parameters
callout_handleCallout handle provided to the callout.

Definition at line 503 of file cb_cmds_dhcp6.cc.

References isc::cb::BaseConfigBackendMgr< ConfigBackendPoolType >::getPool(), isc::dhcp::ConfigBackendDHCPv6Mgr::instance(), and isc::cb::ConfigCmdsImpl::setSubnetOption().

Here is the call graph for this function:

Member Data Documentation

◆ GLOBAL6_MAP_PARAMETERS

const SimpleKeywords isc::cb::ConfigCmdsDhcp6Impl::GLOBAL6_MAP_PARAMETERS
static
Initial value:
= {
{ "compatibility.lenient-option-parsing", 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 },
{ "server-id.type", Element::string },
{ "server-id.enterprise-id", Element::integer },
{ "server-id.identifier", Element::string },
{ "server-id.persist", Element::boolean },
{ "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 224 of file cb_cmds_dhcp6.h.


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