7#ifndef CTRL_DHCPV6_SRV_H
8#define CTRL_DHCPV6_SRV_H
33 uint16_t client_port = 0);
44 void init(
const std::string& config_file);
125 static void sessionReader(
void);
136 commandShutdownHandler(
const std::string& command,
149 commandConfigReloadHandler(
const std::string& command,
161 commandConfigGetHandler(
const std::string& command,
173 commandConfigHashGetHandler(
const std::string& command,
190 commandConfigWriteHandler(
const std::string& command,
203 commandConfigSetHandler(
const std::string& command,
216 commandConfigTestHandler(
const std::string& command,
227 commandDhcpDisableHandler(
const std::string& command,
237 commandDhcpEnableHandler(
const std::string& command,
250 commandVersionGetHandler(
const std::string& command,
262 commandBuildReportHandler(
const std::string& command,
279 commandLeasesReclaimHandler(
const std::string& command,
292 commandSubnet6SelectTestHandler(
const std::string& command,
304 commandServerTagGetHandler(
const std::string& command,
317 commandConfigBackendPullHandler(
const std::string& command,
329 commandStatusGetHandler(
const std::string& command,
342 commandStatisticSetMaxSampleCountAllHandler(
const std::string& command,
355 commandStatisticSetMaxSampleAgeAllHandler(
const std::string& command,
374 void reclaimExpiredLeases(
const size_t max_leases,
const uint16_t timeout,
375 const bool remove_lease,
376 const uint16_t max_unwarned_cycles);
386 void deleteExpiredReclaimedLeases(
const uint32_t secs);
453 boost::shared_ptr<unsigned> failure_count);
Controlled version of the DHCPv6 server.
void init(const std::string &config_file)
Initializes the server.
void cleanup()
Performs cleanup, immediately before termination.
static isc::data::ConstElementPtr finishConfigHookLibraries(isc::data::ConstElementPtr config)
Configuration checker for hook libraries.
virtual ~ControlledDhcpv6Srv()
Destructor.
static isc::data::ConstElementPtr processConfig(isc::data::ConstElementPtr config)
Configuration processor.
virtual void shutdownServer(int exit_value)
Initiates shutdown procedure for the whole DHCPv6 server.
static ControlledDhcpv6Srv * getInstance()
Returns pointer to the sole instance of Dhcpv6Srv.
isc::data::ConstElementPtr loadConfigFile(const std::string &file_name)
Configure DHCPv6 server using the configuration file specified.
static isc::data::ConstElementPtr checkConfig(isc::data::ConstElementPtr config)
Configuration checker.
ControlledDhcpv6Srv(uint16_t server_port=DHCP6_SERVER_PORT, uint16_t client_port=0)
Constructor.
This file contains several functions and constants that are used for handling commands and responses ...
boost::shared_ptr< const Element > ConstElementPtr
boost::shared_ptr< TimerMgr > TimerMgrPtr
Type definition of the shared pointer to TimerMgr.
boost::shared_ptr< SrvConfig > SrvConfigPtr
Non-const pointer to the SrvConfig.
boost::shared_ptr< ReconnectCtl > ReconnectCtlPtr
Pointer to an instance of ReconnectCtl.
Defines the logger used by the top-level component of kea-lfc.