Kea 2.7.6
|
This structure contains information about DHCP4o6 (RFC7341) More...
#include <cfg_4o6.h>
Public Member Functions | |
Cfg4o6 () | |
the default constructor. | |
bool | enabled () const |
Returns whether the DHCP4o6 is enabled or not. | |
void | enabled (bool enabled) |
Sets the DHCP4o6 enabled status. | |
util::Optional< std::string > | getIface4o6 () const |
Returns the DHCP4o6 interface. | |
OptionPtr | getInterfaceId () const |
Returns the interface-id. | |
util::Optional< std::pair< asiolink::IOAddress, uint8_t > > | getSubnet4o6 () const |
Returns prefix/len for the IPv6 subnet. | |
void | setIface4o6 (const std::string &iface) |
Sets the 4o6-interface. | |
void | setInterfaceId (const OptionPtr &opt) |
Sets the interface-id. | |
void | setSubnet4o6 (const asiolink::IOAddress &subnet, uint8_t prefix) |
Sets the prefix/length information (content of the 4o6-subnet). | |
virtual isc::data::ElementPtr | toElement () const |
Unparse a configuration object. | |
Public Member Functions inherited from isc::data::CfgToElement | |
virtual | ~CfgToElement () |
Destructor. | |
This structure contains information about DHCP4o6 (RFC7341)
DHCP4o6 is completely optional. If it is not enabled, this structure does not contain any information.
|
inline |
|
inline |
Returns whether the DHCP4o6 is enabled or not.
Definition at line 33 of file cfg_4o6.h.
Referenced by enabled(), and isc::dhcp::CfgSubnets4::selectSubnet4o6().
|
inline |
|
inline |
Returns the DHCP4o6 interface.
Definition at line 45 of file cfg_4o6.h.
Referenced by isc::dhcp::CfgSubnets4::selectSubnet4o6().
|
inline |
Returns the interface-id.
Definition at line 72 of file cfg_4o6.h.
Referenced by isc::dhcp::CfgSubnets4::selectSubnet4o6().
|
inline |
Returns prefix/len for the IPv6 subnet.
Definition at line 58 of file cfg_4o6.h.
Referenced by isc::dhcp::CfgSubnets4::selectSubnet4o6().
|
inline |
|
inline |
|
inline |
|
virtual |
Unparse a configuration object.
Implements isc::data::CfgToElement.
Definition at line 22 of file cfg_4o6.cc.
References isc::data::Element::create(), and isc::data::Element::createMap().
Referenced by isc::dhcp::Subnet4::toElement().