BUG 5656 : Entity ownership candidates not removed consistently on leadership change
[controller.git] / opendaylight / md-sal / sal-distributed-datastore / src / test / resources / odl-datastore-test.yang
index f6d0202fd5f7dbc447f6d5bfbeebf29ce60a3cc6..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,5 +48,12 @@ module odl-datastore-test {
                 }
             }
         }
+        
+        container outer-container {
+        }
+    }
+    
+    container test2 {
+        presence "needs to be present when empty";
     }
-}
\ No newline at end of file
+}