7 #ifndef ISC_TRANSLATOR_SUBNET_H
8 #define ISC_TRANSLATOR_SUBNET_H 1
262 #ifndef HAVE_PRE_0_7_6_SYSREPO
325 #ifndef HAVE_PRE_0_7_6_SYSREPO
353 const std::string& subsel);
369 const std::string& subsel);
375 #endif // ISC_TRANSLATOR_SUBNET_H
virtual ~TranslatorSubnet()
Destructor.
Subnet (aka network range) translation between YANG and JSON.
isc::data::ElementPtr getSubnet(const std::string &xpath)
Get and translate a subnet from YANG to JSON.
boost::shared_ptr< Element > ElementPtr
void setSubnetKea(const std::string &xpath, isc::data::ConstElementPtr elem)
setSubnet for kea-dhcp[46]-server.
A translator class for converting a pd-pool list between YANG and JSON.
TranslatorSubnet(sysrepo::S_Session session, const std::string &model)
Constructor.
TranslatorSubnets(sysrepo::S_Session session, const std::string &model)
Constructor.
isc::data::ElementPtr getSubnetsCommon(const std::string &xpath, const std::string &subsel)
getSubnets common part.
isc::data::ElementPtr getSubnets(const std::string &xpath)
Get and translate subnets from YANG to JSON.
boost::shared_ptr< const Element > ConstElementPtr
isc::data::ElementPtr getSubnetKea(const std::string &xpath)
getSubnet for kea-dhcp[46]-server.
A translator class for converting a subnet list between YANG and JSON.
Defines the logger used by the top-level component of kea-dhcp-ddns.
void setSubnetsIetf6(const std::string &xpath, isc::data::ConstElementPtr elem)
setSubnets for ietf-dhcpv6-server.
void setSubnet(const std::string &xpath, isc::data::ConstElementPtr elem)
Translate and set subnet from JSON to YANG.
virtual ~TranslatorSubnets()
Destructor.
A translator class for converting pools between YANG and JSON.
void setSubnets(const std::string &xpath, isc::data::ConstElementPtr elem)
Translate and set subnets from JSON to YANG.
void setSubnetIetf6(const std::string &xpath, isc::data::ConstElementPtr elem)
setSubnet for ietf-dhcpv6-server.
void setSubnetsKea(const std::string &xpath, isc::data::ConstElementPtr elem, const std::string &subsel)
setSubnets for kea-dhcp[46]-server.
A translator class for converting host reservations list between YANG and JSON.
isc::data::ElementPtr getSubnetIetf6(const std::string &xpath)
getSubnet for ietf-dhcpv6-server.