|  | Kea 3.0.0
    | 
Represents configuration of the RSOO options for the DHCP server. More...
#include <cfg_rsoo.h>
| Public Member Functions | |
| CfgRSOO () | |
| Constructor. | |
| void | clear () | 
| Removes designation of all options as RSOO_enabled. | |
| void | enable (const uint16_t code) | 
| Marks specified option code as RSOO-enabled. | |
| bool | enabled (const uint16_t code) const | 
| Returns whether specific option code is RSOO-enabled. | |
| virtual isc::data::ElementPtr | toElement () const | 
| Unparse a configuration object. | |
| Public Member Functions inherited from isc::data::CfgToElement | |
| virtual | ~CfgToElement () | 
| Destructor. | |
Represents configuration of the RSOO options for the DHCP server.
This class holds the set of RSOO-enabled options (see RFC6422). The list of RSOO-enabled options is maintained by IANA and currently the option 65 is officially RSSO-enabled. The list may be extended in the future and this class allows for specifying any future RSOO-enabled options. The administrator may also use existing options as RSOO-enabled.
Definition at line 25 of file cfg_rsoo.h.
| isc::dhcp::CfgRSOO::CfgRSOO | ( | ) | 
Constructor.
It adds the default (officially) RSOO-enabled options:
Definition at line 18 of file cfg_rsoo.cc.
References D6O_ERP_LOCAL_DOMAIN_NAME.
| void isc::dhcp::CfgRSOO::clear | ( | ) | 
Removes designation of all options as RSOO_enabled.
This method removes all designations of all options as being RSOO-enabled.
Definition at line 24 of file cfg_rsoo.cc.
| void isc::dhcp::CfgRSOO::enable | ( | const uint16_t | code | ) | 
Marks specified option code as RSOO-enabled.
| code | option to be enabled in RSOO | 
Definition at line 34 of file cfg_rsoo.cc.
| bool isc::dhcp::CfgRSOO::enabled | ( | const uint16_t | code | ) | const | 
Returns whether specific option code is RSOO-enabled.
| code | Option code to check | 
Definition at line 29 of file cfg_rsoo.cc.
| 
 | virtual | 
Unparse a configuration object.
Implements isc::data::CfgToElement.
Definition at line 42 of file cfg_rsoo.cc.
References isc::data::Element::create(), and isc::data::Element::createList().