 |
Kea
1.5.0
|
Go to the documentation of this file.
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
std::set< std::string > Networks
Type of the container holding collection of shared network names.
boost::shared_ptr< NetworkState > NetworkStatePtr
Pointer to the NetworkState object.
bool isServiceEnabled() const
Checks if the DHCP service is globally enabled.
Defines the logger used by the top-level component of kea-dhcp-ddns.
std::set< SubnetID > Subnets
Type of the container holding collection of subnet identifiers.
void selectiveDisable(const NetworkState::Subnets &subnets)
Disable DHCP service for selected subnets.
bool isDelayedEnableAll() const
Checks if delayed enabling of DHCP services is scheduled.
Holds information about DHCP service enabling status.
NetworkState(const ServerType &server_type)
Constructor.
ServerType
DHCP server type.
void selectiveEnable(const NetworkState::Subnets &subnets)
Enable DHCP service for selected subnets.
void enableService()
Globally enables DHCP service.
void delayedEnableAll(const unsigned int seconds)
Schedules enabling DHCP service in the future.
void enableAll()
Enables DHCP service globally and for scopes which have been disabled as a result of control command.
void disableService()
Globally disables DHCP service.