X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=opendaylight%2Fsal%2Fyang-prototype%2Fyang%2Fyang-model-parser-impl%2Fsrc%2Ftest%2Fresources%2Fcontext-augment-test%2Ftest1.yang;fp=opendaylight%2Fsal%2Fyang-prototype%2Fyang%2Fyang-model-parser-impl%2Fsrc%2Ftest%2Fresources%2Fcontext-augment-test%2Ftest1.yang;h=04468fbffcec9369af3063fad6e4e0dae7c60760;hb=ba1a5528e27b0ae8a883fa7b768d803659bf9336;hp=0000000000000000000000000000000000000000;hpb=b64d31500de4d9bd81a060432c3db20feb2e7dfa;p=controller.git diff --git a/opendaylight/sal/yang-prototype/yang/yang-model-parser-impl/src/test/resources/context-augment-test/test1.yang b/opendaylight/sal/yang-prototype/yang/yang-model-parser-impl/src/test/resources/context-augment-test/test1.yang new file mode 100644 index 0000000000..04468fbffc --- /dev/null +++ b/opendaylight/sal/yang-prototype/yang/yang-model-parser-impl/src/test/resources/context-augment-test/test1.yang @@ -0,0 +1,34 @@ +module test1 { + + yang-version 1; + namespace "urn:simple.demo.test1"; + prefix "t1"; + + import test3 { + prefix "t3"; + revision-date 2013-06-18; + } + + import test2 { + prefix "t2"; + revision-date 2013-06-18; + } + + import test4 { + prefix "t4"; + revision-date 2013-06-18; + } + + organization "opendaylight"; + contact "WILL-BE-DEFINED-LATER"; + revision 2013-06-18 { + } + + augment "/t4:interfaces/t4:ifEntry/t2:augment-holder/t3:schemas" { + when "if:ifType='ds0'"; + leaf id { + type string; + } + } + +}