Kea 2.7.4
bin/agent/simple_parser.h
Go to the documentation of this file.
1// Copyright (C) 2017-2021 Internet Systems Consortium, Inc. ("ISC")
2//
3// This Source Code Form is subject to the terms of the Mozilla Public
4// License, v. 2.0. If a copy of the MPL was not distributed with this
5// file, You can obtain one at http://mozilla.org/MPL/2.0/.
6
7#ifndef AGENT_SIMPLE_PARSER_H
8#define AGENT_SIMPLE_PARSER_H
9
10#include <cc/simple_parser.h>
11#include <agent/ca_cfg_mgr.h>
12
13namespace isc {
14namespace agent {
15
24public:
31 static size_t setAllDefaults(const isc::data::ElementPtr& global);
32
37 void checkTlsSetup(const isc::data::ConstElementPtr& config);
38
46 void parse(const CtrlAgentCfgContextPtr& ctx,
47 const isc::data::ConstElementPtr& config,
48 bool check_only);
49
50 // see simple_parser.cc for comments for those parameters
54};
55
56}
57}
58#endif
void checkTlsSetup(const isc::data::ConstElementPtr &config)
Check TLS setup consistency i.e.
static const isc::data::SimpleDefaults AUTH_DEFAULTS
This table defines default values for authentication.
static const isc::data::SimpleDefaults SOCKET_DEFAULTS
This table defines default values for control sockets.
static const isc::data::SimpleDefaults AGENT_DEFAULTS
This table defines default values for global options.
void parse(const CtrlAgentCfgContextPtr &ctx, const isc::data::ConstElementPtr &config, bool check_only)
Parses the control agent configuration.
static size_t setAllDefaults(const isc::data::ElementPtr &global)
Sets all defaults for Control Agent configuration.
boost::shared_ptr< CtrlAgentCfgContext > CtrlAgentCfgContextPtr
Pointer to a configuration context.
Definition ca_cfg_mgr.h:23
boost::shared_ptr< const Element > ConstElementPtr
Definition data.h:29
std::vector< SimpleDefault > SimpleDefaults
This specifies all default values in a given scope (e.g. a subnet).
boost::shared_ptr< Element > ElementPtr
Definition data.h:28
Defines the logger used by the top-level component of kea-lfc.