7 #ifndef ISC_TRANSLATOR_SHARED_NETWORK_H
8 #define ISC_TRANSLATOR_SHARED_NETWORK_H 1
151 #ifndef HAVE_PRE_0_7_6_SYSREPO
153 const std::string& model);
183 const std::string& subsel);
193 const std::string& subsel);
209 #ifndef HAVE_PRE_0_7_6_SYSREPO
211 const std::string& model);
246 #endif // ISC_TRANSLATOR_SHARED_NETWORK_H
TranslatorSharedNetwork(sysrepo::S_Session session, const std::string &model)
Constructor.
void setSharedNetworks(const std::string &xpath, isc::data::ConstElementPtr elem)
Translate and set shared networks from JSON to YANG.
virtual ~TranslatorSharedNetwork()
Destructor.
void setSharedNetworkKea(const std::string &xpath, isc::data::ConstElementPtr elem, const std::string &subsel)
setSharedNetwork for kea-dhcp4-server and kea-dhcp6-server models
isc::data::ElementPtr getSharedNetwork(const std::string &xpath)
Get and translate a shared network from YANG to JSON.
boost::shared_ptr< Element > ElementPtr
isc::data::ElementPtr getSharedNetworks(const std::string &xpath)
Get and translate shared networks from YANG to JSON.
TranslatorSharedNetworks(sysrepo::S_Session session, const std::string &model)
Constructor.
virtual ~TranslatorSharedNetworks()
Destructor.
Shared network translation between YANG and JSON.
void setSharedNetworksKea(const std::string &xpath, isc::data::ConstElementPtr elem)
setSharedNetworks for kea-dhcp4-server and kea-dhcp6-server
boost::shared_ptr< const Element > ConstElementPtr
A translator class for converting a shared network list between YANG and JSON.
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 setSharedNetwork(const std::string &xpath, isc::data::ConstElementPtr elem)
Translate and set shared network from JSON to YANG.
isc::data::ElementPtr getSharedNetworkKea(const std::string &xpath, const std::string &subsel)
getSharedNetwork for kea-dhcp4-server and kea-dhcp6-server models