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%2Fnegative-scenario%2Ftestfile2.yang;fp=opendaylight%2Fsal%2Fyang-prototype%2Fyang%2Fyang-model-parser-impl%2Fsrc%2Ftest%2Fresources%2Fnegative-scenario%2Ftestfile2.yang;h=ea5a11fd56739a091dffdfd37b94714449fa5f49;hb=ba1a5528e27b0ae8a883fa7b768d803659bf9336;hp=0000000000000000000000000000000000000000;hpb=b64d31500de4d9bd81a060432c3db20feb2e7dfa;p=controller.git diff --git a/opendaylight/sal/yang-prototype/yang/yang-model-parser-impl/src/test/resources/negative-scenario/testfile2.yang b/opendaylight/sal/yang-prototype/yang/yang-model-parser-impl/src/test/resources/negative-scenario/testfile2.yang new file mode 100644 index 0000000000..ea5a11fd56 --- /dev/null +++ b/opendaylight/sal/yang-prototype/yang/yang-model-parser-impl/src/test/resources/negative-scenario/testfile2.yang @@ -0,0 +1,29 @@ +module test2 { + yang-version 1; + namespace "urn:simple.types.data.demo"; + prefix "t2"; + + organization "opendaylight"; + contact "http://www.opendaylight.org/"; + + description "This is types-data test description"; + + revision "2013-02-27" { + reference " WILL BE DEFINED LATER"; + } + + container c1 { + typedef int-ext { + type int32 { + range "10..20"; + } + } + } + + container top { + leaf id { + type int-ext; + } + } + +}