Kea  1.9.9-git
isc::process::ConfigControlParser Class Reference

Implements parser for config control information, "config-control". More...

#include <config_ctl_parser.h>

+ Inheritance diagram for isc::process::ConfigControlParser:

Public Member Functions

ConfigControlInfoPtr parse (const data::ConstElementPtr &config_control)
 Parses a configuration control Element. More...

Detailed Description

Implements parser for config control information, "config-control".

Definition at line 18 of file config_ctl_parser.h.

Member Function Documentation

ConfigControlInfoPtr isc::process::ConfigControlParser::parse ( const data::ConstElementPtr config_control)

Parses a configuration control Element.

config_controlElement holding the config control content to be parsed.
Pointer to newly created ConfigControlInfo instance
DhcpConfigErrorwhen config control content is invalid.
do we still need access_string for this at all? can't we just use params directly and get rid of the string now that DatabaseConnection::toElement(map) exists?

Definition at line 22 of file

References isc_throw, isc::data::Element::list, isc::db::DbAccessParser::parse(), and isc::Exception::what().

Referenced by isc::dhcp::configureDhcp4Server(), and isc::dhcp::configureDhcp6Server().

+ Here is the call graph for this function:

The documentation for this class was generated from the following files: