X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=opendaylight%2Fmd-sal%2Fsal-distributed-datastore%2Fsrc%2Ftest%2Fresources%2Fodl-datastore-test.yang;h=db3e4bc1aabeca135976473106cb686a581e62dc;hb=e66df4e9ae44728c178147fe2462b7138d74810a;hp=e36f38ea964a4d56850dd9d9f5a70a38256d0fba;hpb=103ceecd0195cca6c87fbd62a687d8addf128784;p=controller.git diff --git a/opendaylight/md-sal/sal-distributed-datastore/src/test/resources/odl-datastore-test.yang b/opendaylight/md-sal/sal-distributed-datastore/src/test/resources/odl-datastore-test.yang index e36f38ea96..db3e4bc1aa 100644 --- a/opendaylight/md-sal/sal-distributed-datastore/src/test/resources/odl-datastore-test.yang +++ b/opendaylight/md-sal/sal-distributed-datastore/src/test/resources/odl-datastore-test.yang @@ -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 +}