X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=opendaylight%2Fmd-sal%2Fsal-rest-connector%2Fsrc%2Ftest%2Fresources%2Ffull-versions%2Ftest-module%2Ftest-module.yang;fp=opendaylight%2Fmd-sal%2Fsal-rest-connector%2Fsrc%2Ftest%2Fresources%2Ffull-versions%2Ftest-module%2Ftest-module.yang;h=baf7d1e9ae7a9f61ccdf8b33cdefe728e4c16cee;hb=f1cd9396e3858a2dfd481fbaf40685fbd4409d8e;hp=0000000000000000000000000000000000000000;hpb=833c2cd6f7f8af5671e856ea6af00f9be6df70b7;p=controller.git diff --git a/opendaylight/md-sal/sal-rest-connector/src/test/resources/full-versions/test-module/test-module.yang b/opendaylight/md-sal/sal-rest-connector/src/test/resources/full-versions/test-module/test-module.yang new file mode 100644 index 0000000000..baf7d1e9ae --- /dev/null +++ b/opendaylight/md-sal/sal-rest-connector/src/test/resources/full-versions/test-module/test-module.yang @@ -0,0 +1,67 @@ +module test-module { + namespace "test:module"; + prefix tstmod; + + revision 2014-01-09 { + } + + container interfaces { + container class { + leaf name { + type string; + } + leaf address { + type string; + } + leaf email { + type string; + } + } + } + + container cont { + container cont1 { + leaf lf11 { + type string; + } + leaf lf12 { + type string; + } + } + list lst1 { + key "lf11"; + leaf lf11 { + type string; + } + } + } + + list lst-with-composite-key { + key "key1 key2"; + leaf key1 { + type string; + } + leaf key2 { + type uint8; + } + } + + rpc rpc-test { + input { + container cont { + container cont1 { + leaf lf11 { + type string; + } + leaf lf12 { + type string; + } + } + } + } + output { + container cont-output { + } + } + } +} \ No newline at end of file