50 static void fromParent(
const std::string& name,
63 static void toParent(
const std::string& name,
JSON adaptor between canonical Kea and YANG models.
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.
virtual ~Adaptor()=default
Destructor.
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.
static void modify(isc::data::ConstElementPtr path, isc::data::ConstElementPtr actions, isc::data::ElementPtr config)
Modify a configuration in its JSON element format.
boost::shared_ptr< const Element > ConstElementPtr
boost::shared_ptr< Element > ElementPtr
Defines the logger used by the top-level component of kea-lfc.