X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=blobdiff_plain;f=opendaylight%2Fmd-sal%2Fsal-rest-connector%2Fsrc%2Ftest%2Fresources%2Finstanceidentifier%2Fyang%2Faugment-module.yang;h=c918ef98ad64ebb5773231a6312f8b8f2a4785f3;hp=67b0086ee3d77ee976887d025cd575ad1b8aa146;hb=6a1f273b365b774790585796f406490930bc7303;hpb=f7195b334baf9344c394fd3e870899d53e8c3b32 diff --git a/opendaylight/md-sal/sal-rest-connector/src/test/resources/instanceidentifier/yang/augment-module.yang b/opendaylight/md-sal/sal-rest-connector/src/test/resources/instanceidentifier/yang/augment-module.yang index 67b0086ee3..c918ef98ad 100644 --- a/opendaylight/md-sal/sal-rest-connector/src/test/resources/instanceidentifier/yang/augment-module.yang +++ b/opendaylight/md-sal/sal-rest-connector/src/test/resources/instanceidentifier/yang/augment-module.yang @@ -1,13 +1,13 @@ module augment-module { - namespace "augment:module"; + namespace "augment:module"; prefix "amodule"; - + import instance-identifier-module {prefix imodule; revision-date 2014-01-17;} - - revision 2014-01-17 { + + revision 2014-01-17 { } - + augment "/imodule:cont/imodule:cont1" { list lst11 { key "keyvalue111 keyvalue112"; @@ -17,7 +17,47 @@ module augment-module { leaf keyvalue112 { type string; } - } + } + } + + augment "/imodule:cont" { + container cont-augment { + leaf leaf1 { + type string; + } + } } - -} \ No newline at end of file + + augment "/imodule:cont" { + choice augment-choice1 { + case case1 { + container case-container1 { + leaf case-leaf1 { + type string; + } + } + } + + case case2 { + container case-container2 { + leaf case-leaf2 { + type string; + } + } + } + } + } + + augment "/imodule:cont/augment-choice1/case1" { + choice augment-choice2 { + case case11 { + container case-choice-case-container1 { + leaf case-choice-case-leaf1 { + type string; + } + } + } + } + } + +}