 |
Kea
1.5.0
|
Go to the documentation of this file.
7 #ifndef ISC_TRANSLATOR_CLASS_H
8 #define ISC_TRANSLATOR_CLASS_H 1
80 #ifndef HAVE_PRE_0_7_6_SYSREPO
130 #ifndef HAVE_PRE_0_7_6_SYSREPO
173 #endif // ISC_TRANSLATOR_CLASS_H
A translator class for converting an option data list between YANG and JSON.
isc::data::ElementPtr getClass(const std::string &xpath)
Get and translate a client class from YANG to JSON.
virtual ~TranslatorClasses()
Destructor.
TranslatorClasses(sysrepo::S_Session session, const std::string &model)
Constructor.
isc::data::ElementPtr getClassKea(const std::string &xpath)
getClass JSON for kea-dhcp[46].
TranslatorClass(sysrepo::S_Session session, const std::string &model)
Constructor.
A translator class for converting a client class list between YANG and JSON.
void setClasses(const std::string &xpath, isc::data::ConstElementPtr elem)
Translate and set client classes from JSON to YANG.
virtual ~TranslatorClass()
Destructor.
void setClass(const std::string &xpath, isc::data::ConstElementPtr elem)
Translate and set client class from JSON to YANG.
Defines the logger used by the top-level component of kea-dhcp-ddns.
void setClassesKea(const std::string &xpath, isc::data::ConstElementPtr elem)
setClasses for kea-dhcp[46].
isc::data::ConstElementPtr getClasses(const std::string &xpath)
Get and translate client classes from YANG to JSON.
Currently supports kea-dhcp[46]-server models.
isc::data::ElementPtr getClassesKea(const std::string &xpath)
getClasses JSON for kea-dhcp[46].
void setClassKea(const std::string &xpath, isc::data::ConstElementPtr elem)
setClass for kea-dhcp[46].
boost::shared_ptr< Element > ElementPtr
Client class translation between YANG and JSON.
boost::shared_ptr< const Element > ConstElementPtr