X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=blobdiff_plain;f=opendaylight%2Fmd-sal%2Fsal-dom-broker%2Fsrc%2Ftest%2Fresources%2Fodl-datastore-test.yang;h=f7b960e9f995b448d5b655fb85cad5067a8397e4;hp=17541fecab02c62f35c7a64cd679ad3ca52849e6;hb=25254ae7fd8ea10847621ed11a1a27438f17b35c;hpb=8b3405d23e3018afdc4cb5e99bab442ced26e304 diff --git a/opendaylight/md-sal/sal-dom-broker/src/test/resources/odl-datastore-test.yang b/opendaylight/md-sal/sal-dom-broker/src/test/resources/odl-datastore-test.yang index 17541fecab..f7b960e9f9 100644 --- a/opendaylight/md-sal/sal-dom-broker/src/test/resources/odl-datastore-test.yang +++ b/opendaylight/md-sal/sal-dom-broker/src/test/resources/odl-datastore-test.yang @@ -2,12 +2,14 @@ module odl-datastore-test { yang-version 1; namespace "urn:opendaylight:params:xml:ns:yang:controller:md:sal:dom:store:test"; prefix "store-test"; - + revision "2014-03-13" { description "Initial revision."; } container test { + presence "needs to be present when empty"; + list outer-list { key id; leaf id { @@ -39,4 +41,30 @@ module odl-datastore-test { } } } -} \ No newline at end of file + + container test2 { + } + + rpc test-rpc { + input { + leaf input-leaf { + type string; + } + } + + output { + leaf output-leaf { + type string; + } + } + } + + rpc test-rpc-no-input { + } + + notification test-notification { + leaf value-leaf { + type string; + } + } +}