|  | Kea 3.1.0
    | 
Represents configuration of IPv4 shared networks. More...
#include <cfg_shared_networks.h>
| Public Member Functions | |
| bool | hasNetworkWithServerId (const asiolink::IOAddress &server_id) const | 
| Checks if specified server identifier has been specified for any network. | |
| Public Member Functions inherited from isc::dhcp::CfgSharedNetworks< SharedNetwork4Ptr, SharedNetwork4Collection > | |
| void | add (const SharedNetwork4Ptr &network) | 
| Adds new shared network to the configuration. | |
| void | del (const std::string &name) | 
| Deletes shared network from the configuration. | |
| const SharedNetwork4Collection * | getAll () const | 
| Returns pointer to all configured shared networks. | |
| SharedNetwork4Ptr | getByName (const std::string &name) const | 
| Retrieves shared network by name. | |
| void | merge (CfgOptionDefPtr cfg_def, CfgSharedNetworks &other) | 
| Merges specified shared network configuration into this configuration. | |
| virtual data::ElementPtr | toElement () const | 
| Unparses shared networks configuration. | |
| Public Member Functions inherited from isc::data::CfgToElement | |
| virtual | ~CfgToElement () | 
| Destructor. | |
| Additional Inherited Members | |
| Protected Attributes inherited from isc::dhcp::CfgSharedNetworks< SharedNetwork4Ptr, SharedNetwork4Collection > | |
| SharedNetwork4Collection | networks_ | 
| Multi index container holding shared networks. | |
Represents configuration of IPv4 shared networks.
Definition at line 219 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_.