X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=yang%2Fyang-parser-impl%2Fsrc%2Ftest%2Fresources%2Faugment-test%2Faugment-in-augment%2Fbar.yang;fp=yang%2Fyang-parser-impl%2Fsrc%2Ftest%2Fresources%2Faugment-test%2Faugment-in-augment%2Fbar.yang;h=733e1003678fb9f5e9df1070df2f0d504c2b70db;hb=573a504e2cb3463c7daa3a452ecabb1c5f38a4a5;hp=0000000000000000000000000000000000000000;hpb=dd1528c246d06566774e66c3c76e9ed77fbd2f04;p=yangtools.git diff --git a/yang/yang-parser-impl/src/test/resources/augment-test/augment-in-augment/bar.yang b/yang/yang-parser-impl/src/test/resources/augment-test/augment-in-augment/bar.yang new file mode 100644 index 0000000000..733e100367 --- /dev/null +++ b/yang/yang-parser-impl/src/test/resources/augment-test/augment-in-augment/bar.yang @@ -0,0 +1,49 @@ +module bar { + yang-version 1; + namespace "urn:opendaylight.bar"; + prefix "bar"; + + organization "opendaylight"; + contact "http://www.opendaylight.org/"; + + revision "2013-10-14" { + reference " WILL BE DEFINED LATER"; + } + + container interfaces { + grouping ifEntry { + container augment-holder; + } + list ifEntry { + key "ifIndex"; + + leaf ifIndex { + type uint32; + units minutes; + } + + leaf ifMtu { + type int32; + } + + min-elements 1; + max-elements 11; + } + } + + container controller { + choice switch { + case start { + leaf start { + type int8; + } + } + case stop { + leaf stop { + type int16; + } + } + } + } + +}