Kea
1.9.9-git
|
This structure contains information about DHCP4o6 (RFC7341) More...
#include <cfg_4o6.h>
Public Member Functions | |
Cfg4o6 () | |
the default constructor. More... | |
bool | enabled () const |
Returns whether the DHCP4o6 is enabled or not. More... | |
void | enabled (bool enabled) |
Sets the DHCP4o6 enabled status. More... | |
util::Optional< std::string > | getIface4o6 () const |
Returns the DHCP4o6 interface. More... | |
OptionPtr | getInterfaceId () const |
Returns the interface-id. More... | |
util::Optional< std::pair< asiolink::IOAddress, uint8_t > > | getSubnet4o6 () const |
Returns prefix/len for the IPv6 subnet. More... | |
void | setIface4o6 (const std::string &iface) |
Sets the 4o6-interface. More... | |
void | setInterfaceId (const OptionPtr &opt) |
Sets the interface-id. More... | |
void | setSubnet4o6 (const asiolink::IOAddress &subnet, uint8_t prefix) |
Sets the prefix/length information (content of the 4o6-subnet). More... | |
virtual isc::data::ElementPtr | toElement () const |
Unparse a configuration object. More... | |
Public Member Functions inherited from isc::data::CfgToElement | |
virtual | ~CfgToElement () |
Destructor. More... | |
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().