X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=opendaylight%2Fmd-sal%2Fsal-rest-connector%2Fsrc%2Ftest%2Fresources%2Fmodules%2Fnested-module.yang;fp=opendaylight%2Fmd-sal%2Fsal-rest-connector%2Fsrc%2Ftest%2Fresources%2Fmodules%2Fnested-module.yang;h=726b8d9a5b9d11052385fefc217f08f4bca6b879;hb=dae6764f032053ea78e7bd4681cfcebebf562f01;hp=590743c9ca71f5547a5a1e6dd03bf158afbd4f58;hpb=d4fee4eb690d46f879d05765a41825ac7018fe49;p=controller.git diff --git a/opendaylight/md-sal/sal-rest-connector/src/test/resources/modules/nested-module.yang b/opendaylight/md-sal/sal-rest-connector/src/test/resources/modules/nested-module.yang index 590743c9ca..726b8d9a5b 100644 --- a/opendaylight/md-sal/sal-rest-connector/src/test/resources/modules/nested-module.yang +++ b/opendaylight/md-sal/sal-rest-connector/src/test/resources/modules/nested-module.yang @@ -4,24 +4,42 @@ module nested-module { revision "2014-06-3"; container depth1-cont { - container depth2-cont1 { + list depth2-cont1 { container depth3-cont1 { container depth4-cont1 { leaf depth5-leaf1 { type string; } } - + leaf depth4-leaf1 { type string; } } - + leaf depth3-leaf1 { type string; } } - + + /* list depth2-list2 was added to test keyed list */ + list depth2-list2 { + key "depth3-lf1-key depth3-lf2-key"; + leaf depth3-lf1-key { + type string; + } + leaf depth3-lf2-key { + type string; + } + leaf depth3-lf3 { + type string; + } + } + + leaf-list depth2-lfLst1 { + type string; + } + container depth2-cont2 { container depth3-cont2 { container depth4-cont2 { @@ -29,19 +47,19 @@ module nested-module { type string; } } - + leaf depth4-leaf2 { type string; } } - + leaf depth3-leaf2 { type string; } } - + leaf depth2-leaf1 { type string; } } -} \ No newline at end of file +}