Kea 2.7.5
simple_parser.cc File Reference

This sets of arrays define the default values in various scopes of the Control Agent Configuration. More...

#include <config.h>
#include <agent/simple_parser.h>
#include <asiolink/io_service_mgr.h>
#include <cc/data.h>
#include <cc/dhcp_config_error.h>
#include <hooks/hooks_manager.h>
#include <hooks/hooks_parser.h>
#include <http/basic_auth_config.h>
+ Include dependency graph for bin/agent/simple_parser.cc:

Go to the source code of this file.

Namespaces

namespace  isc
 Defines the logger used by the top-level component of kea-lfc.
 
namespace  isc::agent
 

Detailed Description

This sets of arrays define the default values in various scopes of the Control Agent Configuration.

SimpleParser specialized for Control Agent.

Each of those is documented in. This is different than most other comments in Kea code. The reason for placing those in .cc rather than .h file is that it is expected to be one centralized place to look at for the default values. This is expected to be looked at also by people who are not skilled in C or C++, so they may be confused with the differences between declaration and definition. As such, there's one file to look at that hopefully is readable without any C or C++ skills.

This class is a isc::data::SimpleParser dedicated to Control Agent. In particular, it contains all the default values for the whole agent and for the socket defaults.

For the actual values, see

Definition in file bin/agent/simple_parser.cc.