7 #ifndef ISC_TRANSLATOR_OPTION_DATA_H
8 #define ISC_TRANSLATOR_OPTION_DATA_H 1
82 #ifndef HAVE_PRE_0_7_6_SYSREPO
133 #ifndef HAVE_PRE_0_7_6_SYSREPO
135 const std::string& model);
175 #endif // ISC_TRANSLATOR_OPTION_DATA_H
isc::data::ElementPtr getOptionData(const std::string &xpath)
Get and translate an option data from YANG to JSON.
Between YANG and JSON translator class for basic values.
TranslatorOptionData(sysrepo::S_Session session, const std::string &model)
Constructor.
virtual ~TranslatorOptionDataList()
Destructor.
boost::shared_ptr< Element > ElementPtr
void setOptionDataKea(const std::string &xpath, isc::data::ConstElementPtr elem)
setOptionData for kea-dhcp[46].
isc::data::ConstElementPtr getOptionDataListKea(const std::string &xpath)
getOptionDataList for kea-dhcp[46].
TranslatorOptionDataList(sysrepo::S_Session session, const std::string &model)
Constructor.
void setOptionDataListKea(const std::string &xpath, isc::data::ConstElementPtr elem)
setOptionDataList for kea-dhcp[46].
virtual ~TranslatorOptionData()
Destructor.
void setOptionData(const std::string &xpath, isc::data::ConstElementPtr elem)
Translate and set option data from JSON to YANG.
A translator class for converting an option data list between YANG and JSON.
boost::shared_ptr< const Element > ConstElementPtr
Defines the logger used by the top-level component of kea-dhcp-ddns.
isc::data::ConstElementPtr getOptionDataList(const std::string &xpath)
Get and translate option data list from YANG to JSON.
isc::data::ElementPtr getOptionDataKea(const std::string &xpath)
getOptionData JSON for kea-dhcp[46].
Option data translation between YANG and JSON.
void setOptionDataList(const std::string &xpath, isc::data::ConstElementPtr elem)
Translate and set option data list from JSON to YANG.