7 #ifndef CTRL_DHCPV6_SRV_H 8 #define CTRL_DHCPV6_SRV_H 42 void init(
const std::string& config_file);
130 static void sessionReader(
void);
141 commandShutdownHandler(
const std::string& command,
154 commandLibReloadHandler(
const std::string& command,
167 commandConfigReloadHandler(
const std::string& command,
179 commandConfigGetHandler(
const std::string& command,
196 commandConfigWriteHandler(
const std::string& command,
210 commandConfigSetHandler(
const std::string& command,
224 commandConfigTestHandler(
const std::string& command,
235 commandDhcpDisableHandler(
const std::string& command,
245 commandDhcpEnableHandler(
const std::string& command,
258 commandVersionGetHandler(
const std::string& command,
270 commandBuildReportHandler(
const std::string& command,
287 commandLeasesReclaimHandler(
const std::string& command,
306 void reclaimExpiredLeases(
const size_t max_leases,
const uint16_t timeout,
307 const bool remove_lease,
308 const uint16_t max_unwarned_cycles);
319 void deleteExpiredReclaimedLeases(
const uint32_t secs);
boost::shared_ptr< TimerMgr > TimerMgrPtr
Type definition of the shared pointer to TimerMgr.
static ControlledDhcpv6Srv * getInstance()
returns pointer to the sole instance of Dhcpv6Srv
virtual ~ControlledDhcpv6Srv()
Destructor.
void init(const std::string &config_file)
Initializes the server.
The IOService class is a wrapper for the ASIO io_service class.
static isc::data::ConstElementPtr processCommand(const std::string &command, isc::data::ConstElementPtr args)
command processor
void shutdown()
Initiates shutdown procedure for the whole DHCPv6 server.
static isc::data::ConstElementPtr processConfig(isc::data::ConstElementPtr new_config)
configuration processor
boost::shared_ptr< const Element > ConstElementPtr
Defines the logger used by the top-level component of kea-dhcp-ddns.
This file contains several functions and constants that are used for handling commands and responses ...
void cleanup()
Performs cleanup, immediately before termination.
isc::data::ConstElementPtr checkConfig(isc::data::ConstElementPtr new_config)
Configuration checker.
ControlledDhcpv6Srv(uint16_t port=DHCP6_SERVER_PORT)
Constructor.
Controlled version of the DHCPv6 server.
boost::shared_ptr< ReconnectCtl > ReconnectCtlPtr
Pointer to an instance of ReconnectCtl.
isc::data::ConstElementPtr loadConfigFile(const std::string &file_name)
Loads specific configuration file.