7 #ifndef ISC_TRANSLATOR_HOST_H
8 #define ISC_TRANSLATOR_HOST_H 1
119 #ifndef HAVE_PRE_0_7_6_SYSREPO
120 TranslatorHost(sysrepo::S_Session session,
const std::string& model);
170 #ifndef HAVE_PRE_0_7_6_SYSREPO
204 #endif // ISC_TRANSLATOR_HOST_H
isc::data::ElementPtr getHostKea(const std::string &xpath)
getHost for kea-dhcp[46]-server models.
isc::data::ElementPtr getHosts(const std::string &xpath)
Get and translate host reservations from YANG to JSON.
void setHostsKea(const std::string &xpath, isc::data::ConstElementPtr elem)
setHosts for kea-dhcp[46].
boost::shared_ptr< Element > ElementPtr
virtual ~TranslatorHost()
Destructor.
isc::data::ElementPtr getHost(const std::string &xpath)
Get and translate a host reservation from YANG to JSON.
Translation between YANG and JSON for a single host reservation.
A translator class for converting an option data list between YANG and JSON.
boost::shared_ptr< const Element > ConstElementPtr
TranslatorHost(sysrepo::S_Session session, const std::string &model)
Constructor.
void setHostKea(const std::string &xpath, isc::data::ConstElementPtr elem)
setHost for kea-dhcp[46]-server models.
TranslatorHosts(sysrepo::S_Session session, const std::string &model)
Constructor.
Defines the logger used by the top-level component of kea-dhcp-ddns.
virtual ~TranslatorHosts()
Destructor.
void setHost(const std::string &xpath, isc::data::ConstElementPtr elem)
Translate and set host reservation from JSON to YANG.
A translator class for converting host reservations list between YANG and JSON.
void setHosts(const std::string &xpath, isc::data::ConstElementPtr elem)
Translate and set (address) host reservations from JSON to YANG.