Eliminate LockChangeListener
[netconf.git] / netconf / sal-netconf-connector / src / main / yang / odl-netconf-device.yang
index 268a227715ce2c989894ff1bf0bb944610301561..4c676548f794e23c62d132b11b28aa844683c8f9 100644 (file)
@@ -324,4 +324,16 @@ module odl-netconf-device {
       }
     }
   }
+
+  grouping datastore-access {
+    leaf lock-datastore {
+      type boolean;
+      default true;
+      description "The operation allows the client to lock the entire configuration datastore
+                   system of a device.
+                   WARNING - With blocking the lock/unlock operations, the user is coming to operate
+                   in a manner which is not supported. Concurrent access to the data store may interfere
+                   with data consistency.";
+    }
+  }
 }