Acquire SchemaContext from ShardDataTree
[controller.git] / opendaylight / md-sal / sal-distributed-datastore / src / test / resources / odl-datastore-test.yang
index e36f38ea964a4d56850dd9d9f5a70a38256d0fba..ec1e5a14111be5ed92a403380794a9ec77f825e4 100644 (file)
@@ -8,6 +8,16 @@ module odl-datastore-test {
     }
 
     container test {
+        presence "needs to be present when empty";
+
+        leaf name {
+            type string;
+        }
+
+        leaf desc {
+            type string;
+        }
+
         list outer-list {
             key id;
             leaf id {
@@ -38,8 +48,12 @@ module odl-datastore-test {
                 }
             }
         }
+        
+        container outer-container {
+        }
     }
     
     container test2 {
+        presence "needs to be present when empty";
     }
-}
\ No newline at end of file
+}