18 #include <boost/shared_ptr.hpp> 186 const bool is_relay_address =
false)
const;
278 #endif // CFG_SUBNETS6_H
ConstSubnet6Ptr getBySubnetId(const SubnetID &subnet_id) const
Returns const pointer to a subnet identified by the specified subnet identifier.
void add(const Subnet6Ptr &subnet)
Adds new subnet to the configuration.
Subnet6Ptr selectSubnet(const SubnetSelector &selector) const
Selects a subnet using parameters specified in the selector.
const Subnet6Collection * getAll() const
Returns pointer to the collection of all IPv6 subnets.
Holds subnets configured for the DHCPv6 server.
boost::multi_index_container< Subnet6Ptr, boost::multi_index::indexed_by< boost::multi_index::random_access< boost::multi_index::tag< SubnetRandomAccessIndexTag > >, boost::multi_index::ordered_unique< boost::multi_index::tag< SubnetSubnetIdIndexTag >, boost::multi_index::const_mem_fun< Subnet, SubnetID, &Subnet::getID > >, boost::multi_index::ordered_unique< boost::multi_index::tag< SubnetPrefixIndexTag >, boost::multi_index::const_mem_fun< Subnet, std::string, &Subnet::toText > > >> Subnet6Collection
A collection of Subnet6 objects.
boost::shared_ptr< Option > OptionPtr
boost::shared_ptr< Element > ElementPtr
static SubnetSelector initSelector(const Pkt6Ptr &query)
Build selector from a client's message.
Subnet selector used to specify parameters used to select a subnet.
void del(const ConstSubnet6Ptr &subnet)
Removes subnet from the configuration.
boost::shared_ptr< Pkt6 > Pkt6Ptr
A pointer to Pkt6 packet.
Subnet6Ptr getSubnet(const SubnetID id) const
Returns subnet with specified subnet-id value.
boost::shared_ptr< const CfgSubnets6 > ConstCfgSubnets6Ptr
Const pointer.
Abstract class for configuration Cfg_* classes.
boost::shared_ptr< const Subnet6 > ConstSubnet6Ptr
A const pointer to a Subnet6 object.
boost::shared_ptr< CfgSubnets6 > CfgSubnets6Ptr
Non-const pointer.
void removeStatistics()
Removes statistics.
Defines the logger used by the top-level component of kea-dhcp-ddns.
ConstSubnet6Ptr getByPrefix(const std::string &subnet_prefix) const
Returns const pointer to a subnet which matches the specified prefix in the canonical form.
void updateStatistics()
Updates statistics.
boost::shared_ptr< Subnet6 > Subnet6Ptr
A pointer to a Subnet6 object.
The IOAddress class represents an IP addresses (version agnostic)
Container for storing client class names.
virtual isc::data::ElementPtr toElement() const
Unparse a configuration object.
uint32_t SubnetID
Unique identifier for a subnet (both v4 and v6)