8 #define ISC_ADAPTOR_H 1
62 static void fromParent(
const std::string& name,
75 static void toParent(
const std::string& name,
133 #endif // ISC_ADAPTOR_H
JSON adaptor between canonical Kea and YANG models.
MissingKey(const char *file, size_t line, const char *what)
boost::shared_ptr< Element > ElementPtr
virtual ~Adaptor()
Destructor.
boost::shared_ptr< const Element > ConstElementPtr
static isc::data::ConstElementPtr getContext(isc::data::ConstElementPtr parent)
Get user context.
static void toParent(const std::string &name, isc::data::ElementPtr parent, isc::data::ConstElementPtr list)
Moves a parameter to a parent.
virtual const char * what() const
Returns a C-style character string of the cause of the exception.
This is a base class for exceptions thrown from the DNS library module.
Defines the logger used by the top-level component of kea-dhcp-ddns.
static void modify(isc::data::ConstElementPtr path, isc::data::ConstElementPtr actions, isc::data::ElementPtr config)
Modify a configuration in its JSON element format.
static void fromParent(const std::string &name, isc::data::ConstElementPtr parent, isc::data::ConstElementPtr list)
Moves a parameter from parent to a list of children.