66 subnet4o6_ = std::make_pair(subnet, prefix);
73 return (interface_id_);
Cfg4o6()
the default constructor.
virtual isc::data::ElementPtr toElement() const
Unparse a configuration object.
void setIface4o6(const std::string &iface)
Sets the 4o6-interface.
boost::shared_ptr< Option > OptionPtr
boost::shared_ptr< Element > ElementPtr
bool enabled() const
Returns whether the DHCP4o6 is enabled or not.
util::Optional< std::pair< asiolink::IOAddress, uint8_t > > getSubnet4o6() const
Returns prefix/len for the IPv6 subnet.
void setSubnet4o6(const asiolink::IOAddress &subnet, uint8_t prefix)
Sets the prefix/length information (content of the 4o6-subnet).
This structure contains information about DHCP4o6 (RFC7341)
Abstract class for configuration Cfg_* classes.
void enabled(bool enabled)
Sets the DHCP4o6 enabled status.
Defines the logger used by the top-level component of kea-dhcp-ddns.
A wrapper interface for the ASIO library.
OptionPtr getInterfaceId() const
Returns the interface-id.
The IOAddress class represents an IP addresses (version agnostic)
util::Optional< std::string > getIface4o6() const
Returns the DHCP4o6 interface.
void setInterfaceId(const OptionPtr &opt)
Sets the interface-id.