Kea  1.5.0
isc::dhcp::SharedNetwork4Parser Class Reference

Implements parser for IPv4 shared networks. More...

#include <shared_network_parser.h>

+ Inheritance diagram for isc::dhcp::SharedNetwork4Parser:

Public Member Functions

SharedNetwork4Ptr parse (const data::ConstElementPtr &shared_network_data)
 Parses shared configuration information for IPv4 shared network. More...
 

Detailed Description

Implements parser for IPv4 shared networks.

Definition at line 20 of file shared_network_parser.h.

Member Function Documentation

◆ parse()

SharedNetwork4Ptr isc::dhcp::SharedNetwork4Parser::parse ( const data::ConstElementPtr shared_network_data)

Parses shared configuration information for IPv4 shared network.

Parameters
shared_network_dataData element holding shared network configuration to be parsed.
Returns
Pointer to an object representing shared network.
Exceptions
DhcpConfigErrorwhen shared network configuration is invalid.

Definition at line 27 of file shared_network_parser.cc.

References isc_throw, isc::dhcp::OptionDataListParser::parse(), isc::dhcp::RelayInfoParser::parse(), isc::dhcp::Subnets4ListConfigParser::parse(), isc::data::Element::string, and isc::Exception::what().

+ Here is the call graph for this function:

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