7 #ifndef ISC_TRANSLATOR_OPTION_DEF_H
8 #define ISC_TRANSLATOR_OPTION_DEF_H 1
85 #ifndef HAVE_PRE_0_7_6_SYSREPO
138 #ifndef HAVE_PRE_0_7_6_SYSREPO
140 const std::string& model);
182 #endif // ISC_TRANSLATOR_OPTION_DEF_H
Between YANG and JSON translator class for basic values.
Currently supports kea-dhcp[46]-server models.
boost::shared_ptr< Element > ElementPtr
isc::data::ConstElementPtr getOptionDefList(const std::string &xpath)
Get and translate option definition list from YANG to JSON.
virtual ~TranslatorOptionDef()
Destructor.
void setOptionDefKea(const std::string &xpath, isc::data::ConstElementPtr elem)
setOptionDef implementation specific to kea-dhcp[46]-server models.
boost::shared_ptr< const Element > ConstElementPtr
TranslatorOptionDefList(sysrepo::S_Session session, const std::string &model)
Constructor.
void setOptionDefList(const std::string &xpath, isc::data::ConstElementPtr elem)
Translate and set option definition list from JSON to YANG.
Defines the logger used by the top-level component of kea-dhcp-ddns.
TranslatorOptionDef(sysrepo::S_Session session, const std::string &model)
Constructor.
isc::data::ConstElementPtr getOptionDefListKea(const std::string &xpath)
getOptionDefList implementation specific to kea-dhcp[46]-server models.
isc::data::ElementPtr getOptionDefKea(const std::string &xpath)
getOptionDef implementation specific to kea-dhcp[46]-server models.
void setOptionDefListKea(const std::string &xpath, isc::data::ConstElementPtr elem)
setOptionDefList implementation specific to kea-dhcp[46]-server models.
isc::data::ElementPtr getOptionDef(const std::string &xpath)
Get and translate an option definition from YANG to JSON.
Option definition translation between YANG and JSON.
void setOptionDef(const std::string &xpath, isc::data::ConstElementPtr elem)
Translate and set option definition from JSON to YANG.
virtual ~TranslatorOptionDefList()
Destructor.