Delay snapshot backed transaction ready error
[controller.git] / opendaylight / md-sal / sal-inmemory-datastore / src / test / resources / odl-datastore-test.yang
index 2d7601e..ffc8fe0 100644 (file)
@@ -41,4 +41,16 @@ module odl-datastore-test {
             }
         }
     }
+
+    container mandatory-data-test {
+        presence "needs to be present when empty";
+
+        leaf optional-data {
+            type string;
+        }
+        leaf mandatory-data {
+            type string;
+            mandatory true;
+        }
+    }
 }

©2013 OpenDaylight, A Linux Foundation Collaborative Project. All Rights Reserved.
OpenDaylight is a registered trademark of The OpenDaylight Project, Inc.
Linux Foundation and OpenDaylight are registered trademarks of the Linux Foundation.
Linux is a registered trademark of Linus Torvalds.