![]() |
Kea 3.3.4
|
Implementation of the callouts for cb_cmds library for DHCPv6. More...
#include <cb_cmds_dhcp6.h>
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. | |
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.
| void isc::cb::ConfigCmdsDhcp6Impl::delClientClass6 | ( | hooks::CalloutHandle & | callout_handle | ) |
Implements handler for remote-class6-del command.
| callout_handle | Callout 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().
| void isc::cb::ConfigCmdsDhcp6Impl::delGlobalOption6 | ( | hooks::CalloutHandle & | callout_handle | ) |
Implements handler for remote-option6-global-del command.
| callout_handle | Callout 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().
| void isc::cb::ConfigCmdsDhcp6Impl::delGlobalParameter6 | ( | hooks::CalloutHandle & | callout_handle | ) |
Implements handler for remote-global-parameter6-del command.
| callout_handle | Callout 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().
| void isc::cb::ConfigCmdsDhcp6Impl::delOptionDef6 | ( | hooks::CalloutHandle & | callout_handle | ) |
Implements handler for remote-option-def6-del command.
| callout_handle | Callout 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().
| void isc::cb::ConfigCmdsDhcp6Impl::delPdPoolOption6 | ( | hooks::CalloutHandle & | callout_handle | ) |
Implements handler for remote-option6-pd-pool-del command.
| callout_handle | Callout handle provided to the callout. |
Definition at line 632 of file cb_cmds_dhcp6.cc.
References isc::config::CONTROL_RESULT_EMPTY, isc::config::CONTROL_RESULT_ERROR, isc::config::CONTROL_RESULT_SUCCESS, isc::data::Element::create(), isc::config::createAnswer(), isc::data::Element::createMap(), isc::cb::BaseConfigBackendMgr< ConfigBackendPoolType >::getPool(), isc::dhcp::ConfigBackendDHCPv6Mgr::instance(), isc::asiolink::IOAddress::IPV6_ZERO_ADDRESS(), isc::cb::ConfigCmdsImpl::parser_, isc::hooks::CalloutHandle::setArgument(), isc::cb::ConfigCmdsParser::TAGS_FORBIDDEN, and isc::db::ServerSelector::UNASSIGNED().
| void isc::cb::ConfigCmdsDhcp6Impl::delPoolOption6 | ( | hooks::CalloutHandle & | callout_handle | ) |
Implements handler for remote-option6-pool-del command.
| callout_handle | Callout 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().
| void isc::cb::ConfigCmdsDhcp6Impl::delServer6 | ( | hooks::CalloutHandle & | callout_handle | ) |
Implements handler for remote-server6-del command.
| callout_handle | Callout 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().
| void isc::cb::ConfigCmdsDhcp6Impl::delSharedNetwork6 | ( | hooks::CalloutHandle & | callout_handle | ) |
Implements handler for remote-shared-network6-del command.
| callout_handle | Callout 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().
| void isc::cb::ConfigCmdsDhcp6Impl::delSharedNetworkOption6 | ( | hooks::CalloutHandle & | callout_handle | ) |
Implements handler for remote-option6-network-del command.
| callout_handle | Callout 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().
| void isc::cb::ConfigCmdsDhcp6Impl::delSubnet6Id | ( | hooks::CalloutHandle & | callout_handle | ) |
Implements handler for remote-subnet6-del-by-id command.
| callout_handle | Callout 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().
| void isc::cb::ConfigCmdsDhcp6Impl::delSubnet6Prefix | ( | hooks::CalloutHandle & | callout_handle | ) |
Implements handler for remote-subnet6-del-by-prefix command.
| callout_handle | Callout 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().
| void isc::cb::ConfigCmdsDhcp6Impl::delSubnetOption6 | ( | hooks::CalloutHandle & | callout_handle | ) |
Implements handler for remote-option6-subnet-del command.
| callout_handle | Callout 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().
| void isc::cb::ConfigCmdsDhcp6Impl::getAllClientClasses6 | ( | hooks::CalloutHandle & | callout_handle | ) |
Implements handler for remote-class6-get-all command.
| callout_handle | Callout 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().
| void isc::cb::ConfigCmdsDhcp6Impl::getAllGlobalOptions6 | ( | hooks::CalloutHandle & | callout_handle | ) |
Implements handler for remote-option6-global-get-all command.
| callout_handle | Callout 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().
| void isc::cb::ConfigCmdsDhcp6Impl::getAllGlobalParameters6 | ( | hooks::CalloutHandle & | callout_handle | ) |
Implements handler for remote-global-parameter6-get-all command.
| callout_handle | Callout 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().
| void isc::cb::ConfigCmdsDhcp6Impl::getAllOptionDefs6 | ( | hooks::CalloutHandle & | callout_handle | ) |
Implements handler for remote-option-def6-get-all command.
| callout_handle | Callout 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().
| void isc::cb::ConfigCmdsDhcp6Impl::getAllServers6 | ( | hooks::CalloutHandle & | callout_handle | ) |
Implements handler for remote-server6-get-all command.
| callout_handle | Callout 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().
| void isc::cb::ConfigCmdsDhcp6Impl::getClientClass6 | ( | hooks::CalloutHandle & | callout_handle | ) |
Implements handler for remote-class6-get command.
| callout_handle | Callout 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().
| void isc::cb::ConfigCmdsDhcp6Impl::getGlobalOption6 | ( | hooks::CalloutHandle & | callout_handle | ) |
Implements handler for remote-option6-global-get command.
| callout_handle | Callout 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().
| void isc::cb::ConfigCmdsDhcp6Impl::getGlobalParameter6 | ( | hooks::CalloutHandle & | callout_handle | ) |
Implements handler for remote-global-parameter6-get command.
| callout_handle | Callout 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().
| void isc::cb::ConfigCmdsDhcp6Impl::getOptionDef6 | ( | hooks::CalloutHandle & | callout_handle | ) |
Implements handler for remote-option-def6-get command.
| callout_handle | Callout 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().
| void isc::cb::ConfigCmdsDhcp6Impl::getServer6 | ( | hooks::CalloutHandle & | callout_handle | ) |
Implements handler for remote-server6-get command.
| callout_handle | Callout 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().
| void isc::cb::ConfigCmdsDhcp6Impl::getSharedNetwork6 | ( | hooks::CalloutHandle & | callout_handle | ) |
Implements handler for remote-shared-network6-get command.
| callout_handle | Callout 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().
| void isc::cb::ConfigCmdsDhcp6Impl::getSubnet6Id | ( | hooks::CalloutHandle & | callout_handle | ) |
Implements handler for remote-subnet6-get-by-id command.
| callout_handle | Callout 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().
| void isc::cb::ConfigCmdsDhcp6Impl::getSubnet6Prefix | ( | hooks::CalloutHandle & | callout_handle | ) |
Implements handler for remote-subnet6-get-by-prefix command.
| callout_handle | Callout 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().
| void isc::cb::ConfigCmdsDhcp6Impl::listSharedNetworks6 | ( | hooks::CalloutHandle & | callout_handle | ) |
Implements handler for remote-shared-network6-list command.
| callout_handle | Callout 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().
| void isc::cb::ConfigCmdsDhcp6Impl::listSubnets6 | ( | hooks::CalloutHandle & | callout_handle | ) |
Implements handler for remote-subnet6-list command.
| callout_handle | Callout 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().
| void isc::cb::ConfigCmdsDhcp6Impl::setClientClass6 | ( | hooks::CalloutHandle & | callout_handle | ) |
Implements handler for remote-class6-set command.
| callout_handle | Callout 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().
| void isc::cb::ConfigCmdsDhcp6Impl::setGlobalOption6 | ( | hooks::CalloutHandle & | callout_handle | ) |
Implements handler for remote-option6-global-set command.
| callout_handle | Callout 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().
| void isc::cb::ConfigCmdsDhcp6Impl::setGlobalParameter6 | ( | hooks::CalloutHandle & | callout_handle | ) |
Implements handler for remote-global-parameter6-set command.
| callout_handle | Callout 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().
| void isc::cb::ConfigCmdsDhcp6Impl::setOptionDef6 | ( | hooks::CalloutHandle & | callout_handle | ) |
Implements handler for remote-option-def6-set command.
| callout_handle | Callout 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().
| void isc::cb::ConfigCmdsDhcp6Impl::setPdPoolOption6 | ( | hooks::CalloutHandle & | callout_handle | ) |
Implements handler for remote-option6-pd-pool-set command.
| callout_handle | Callout handle provided to the callout. |
Definition at line 567 of file cb_cmds_dhcp6.cc.
References isc::config::CONTROL_RESULT_ERROR, isc::config::CONTROL_RESULT_SUCCESS, isc::data::Element::create(), isc::config::createAnswer(), isc::data::Element::createList(), isc::data::Element::createMap(), isc::dhcp::CfgMgr::getCurrentCfg(), isc::cb::BaseConfigBackendMgr< ConfigBackendPoolType >::getPool(), isc::dhcp::CfgMgr::instance(), isc::dhcp::ConfigBackendDHCPv6Mgr::instance(), isc::asiolink::IOAddress::IPV6_ZERO_ADDRESS(), isc::cb::ConfigCmdsImpl::parser_, isc::hooks::CalloutHandle::setArgument(), isc::cb::ConfigCmdsParser::TAGS_FORBIDDEN, and isc::db::ServerSelector::UNASSIGNED().
| void isc::cb::ConfigCmdsDhcp6Impl::setPoolOption6 | ( | hooks::CalloutHandle & | callout_handle | ) |
Implements handler for remote-option6-pool-set command.
| callout_handle | Callout 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().
| void isc::cb::ConfigCmdsDhcp6Impl::setServer6 | ( | hooks::CalloutHandle & | callout_handle | ) |
Implements handler for remote-server6-set command.
| callout_handle | Callout 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().
| void isc::cb::ConfigCmdsDhcp6Impl::setSharedNetwork6 | ( | hooks::CalloutHandle & | callout_handle | ) |
Implements handler for remote-shared-network6-set command.
| callout_handle | Callout 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().
| void isc::cb::ConfigCmdsDhcp6Impl::setSharedNetworkOption6 | ( | hooks::CalloutHandle & | callout_handle | ) |
Implements handler for remote-option6-network-set command.
| callout_handle | Callout 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().
| void isc::cb::ConfigCmdsDhcp6Impl::setSubnet6 | ( | hooks::CalloutHandle & | callout_handle | ) |
Implements handler for remote-subnet6-set command.
| callout_handle | Callout 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().
| void isc::cb::ConfigCmdsDhcp6Impl::setSubnetOption6 | ( | hooks::CalloutHandle & | callout_handle | ) |
Implements handler for remote-option6-subnet-set command.
| callout_handle | Callout 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().
|
static |
Supported global maps parameters (scalars only).
Definition at line 224 of file cb_cmds_dhcp6.h.