12#include <boost/scoped_ptr.hpp>
13#include <boost/shared_ptr.hpp>
21class NetworkStateImpl;
197 boost::shared_ptr<NetworkStateImpl> impl_;
200 const boost::scoped_ptr<std::mutex> mutex_;
Holds information about DHCP service enabling status.
void enableService(const NetworkState::Origin &origin)
Enable the DHCP service state for respective transition origin.
void selectiveDisable(const NetworkState::Subnets &subnets)
Disable DHCP service for selected subnets.
std::set< SubnetID > Subnets
Type of the container holding collection of subnet identifiers.
void disableService(const NetworkState::Origin &origin)
Disable the DHCP service state for respective transition origin.
void delayedEnableAll(const unsigned int seconds, const NetworkState::Origin &origin)
Schedules enabling DHCP service in the future.
std::set< std::string > Networks
Type of the container holding collection of shared network names.
void enableAll(const NetworkState::Origin &origin)
Enables DHCP service globally and for scopes which have been disabled as a result of control command.
void reset(const NetworkState::Origin &type)
Reset internal counters.
bool isDelayedEnableAll() const
Checks if delayed enabling of DHCP services is scheduled.
void selectiveEnable(const NetworkState::Subnets &subnets)
Enable DHCP service for selected subnets.
Origin
Origin of the network state transition.
NetworkState(const ServerType &server_type)
Constructor.
ServerType
DHCP server type.
bool isServiceEnabled() const
Checks if the DHCP service is globally enabled.
boost::shared_ptr< NetworkState > NetworkStatePtr
Pointer to the NetworkState object.
Defines the logger used by the top-level component of kea-lfc.