7 #ifndef NETWORK_STATE_H 8 #define NETWORK_STATE_H 12 #include <boost/shared_ptr.hpp> 19 class NetworkStateImpl;
152 boost::shared_ptr<NetworkStateImpl> impl_;
161 #endif // NETWORK_STATE_H void disableService()
Globally disables DHCP service.
std::set< std::string > Networks
Type of the container holding collection of shared network names.
NetworkState(const ServerType &server_type)
Constructor.
ServerType
DHCP server type.
Holds information about DHCP service enabling status.
std::set< SubnetID > Subnets
Type of the container holding collection of subnet identifiers.
void selectiveEnable(const NetworkState::Subnets &subnets)
Enable DHCP service for selected subnets.
void delayedEnableAll(const unsigned int seconds)
Schedules enabling DHCP service in the future.
void enableService()
Globally enables DHCP service.
void enableAll()
Enables DHCP service globally and for scopes which have been disabled as a result of control command.
void selectiveDisable(const NetworkState::Subnets &subnets)
Disable DHCP service for selected subnets.
Defines the logger used by the top-level component of kea-dhcp-ddns.
bool isServiceEnabled() const
Checks if the DHCP service is globally enabled.
boost::shared_ptr< NetworkState > NetworkStatePtr
Pointer to the NetworkState object.
bool isDelayedEnableAll() const
Checks if delayed enabling of DHCP services is scheduled.