python: support container/list creation/deletion
Change-Id: I92a5d067b96c31c0f0ab846ab117401914c547d3
diff --git a/src/python_netconf.cpp b/src/python_netconf.cpp
index 5806afa..260395a 100644
--- a/src/python_netconf.cpp
+++ b/src/python_netconf.cpp
@@ -70,5 +70,9 @@
.def("setLeaf", &NetconfAccess::setLeaf, "xpath"_a, "value"_a)
.def("commitChanges", &NetconfAccess::commitChanges)
.def("executeRpc", &NetconfAccess::executeRpc, "rpc"_a, "input"_a=DatastoreAccess::Tree{})
+ .def("createListInstance", &NetconfAccess::createListInstance, "xpath"_a)
+ .def("deleteListInstance", &NetconfAccess::deleteListInstance, "xpath"_a)
+ .def("createPresenceContainer", &NetconfAccess::createPresenceContainer, "xpath"_a)
+ .def("deletePresenceContainer", &NetconfAccess::deletePresenceContainer, "xpath"_a)
;
}