Make create/delete accept list instance paths
Change-Id: I5991e1377ebc0edcfc3f8dbc60066a580314a51a
diff --git a/src/sysrepo_access.cpp b/src/sysrepo_access.cpp
index a6388db..d514203 100644
--- a/src/sysrepo_access.cpp
+++ b/src/sysrepo_access.cpp
@@ -117,6 +117,16 @@
m_session->delete_item(path.c_str());
}
+void SysrepoAccess::createListInstance(const std::string& path)
+{
+ m_session->set_item(path.c_str());
+}
+
+void SysrepoAccess::deleteListInstance(const std::string& path)
+{
+ m_session->delete_item(path.c_str());
+}
+
void SysrepoAccess::commitChanges()
{
m_session->commit();