![]() |
Kea 2.2.0
|
Represents configuration of IPv4 shared networks. More...
#include <cfg_shared_networks.h>
Inheritance diagram for isc::dhcp::CfgSharedNetworks4:Public Member Functions | |
| bool | hasNetworkWithServerId (const asiolink::IOAddress &server_id) const |
| Checks if specified server identifier has been specified for any network. More... | |
Public Member Functions inherited from isc::dhcp::CfgSharedNetworks< SharedNetwork4Ptr, SharedNetwork4Collection > | |
| void | add (const SharedNetwork4Ptr &network) |
| Adds new shared network to the configuration. More... | |
| void | del (const std::string &name) |
| Deletes shared network from the configuration. More... | |
| uint64_t | del (const uint64_t id) |
| Deletes shared networks from the configuration by id. More... | |
| const SharedNetwork4Collection * | getAll () const |
| Returns pointer to all configured shared networks. More... | |
| SharedNetwork4Ptr | getByName (const std::string &name) const |
| Retrieves shared network by name. More... | |
| void | merge (CfgOptionDefPtr cfg_def, CfgSharedNetworks &other) |
| Merges specified shared network configuration into this configuration. More... | |
| virtual data::ElementPtr | toElement () const |
| Unparses shared networks configuration. More... | |
Public Member Functions inherited from isc::data::CfgToElement | |
| virtual | ~CfgToElement () |
| Destructor. More... | |
| virtual isc::data::ElementPtr | toElement () const =0 |
| Unparse a configuration object. More... | |
Additional Inherited Members | |
Protected Attributes inherited from isc::dhcp::CfgSharedNetworks< SharedNetwork4Ptr, SharedNetwork4Collection > | |
| SharedNetwork4Collection | networks_ |
| Multi index container holding shared networks. More... | |
Represents configuration of IPv4 shared networks.
Definition at line 216 of file cfg_shared_networks.h.
| bool isc::dhcp::CfgSharedNetworks4::hasNetworkWithServerId | ( | const asiolink::IOAddress & | server_id | ) | const |
Checks if specified server identifier has been specified for any network.
| server_id | Server identifier. |
Definition at line 16 of file cfg_shared_networks.cc.
References isc::dhcp::CfgSharedNetworks< SharedNetwork4Ptr, SharedNetwork4Collection >::networks_.