X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=opendaylight%2Fsal%2Fyang-prototype%2Fcode-generator%2Fsamples%2Fmaven-code-gen-sample%2Fsrc%2Fmain%2Fyang%2Fsimple-string-demo.yang;fp=opendaylight%2Fsal%2Fyang-prototype%2Fcode-generator%2Fsamples%2Fmaven-code-gen-sample%2Fsrc%2Fmain%2Fyang%2Fsimple-string-demo.yang;h=c0f87dd910b7f0132997bb7e6c3dc40f26b6e379;hb=a954bf75193626833a2bd8b7395514a8b1aec032;hp=0000000000000000000000000000000000000000;hpb=b8bb7db7c6133e00046e85ead70426eb1e05184d;p=controller.git diff --git a/opendaylight/sal/yang-prototype/code-generator/samples/maven-code-gen-sample/src/main/yang/simple-string-demo.yang b/opendaylight/sal/yang-prototype/code-generator/samples/maven-code-gen-sample/src/main/yang/simple-string-demo.yang new file mode 100644 index 0000000000..c0f87dd910 --- /dev/null +++ b/opendaylight/sal/yang-prototype/code-generator/samples/maven-code-gen-sample/src/main/yang/simple-string-demo.yang @@ -0,0 +1,22 @@ +module simple-string-demo { + + namespace "urn:simple:string:demo"; + prefix "sbd"; + + organization "OPEN DAYLIGHT"; + contact "http://www.opendaylight.org/"; + + revision 2013-06-18 { + + } + + typedef typedef-string { + type string { + length "40"; + pattern "[0-9A-F]\.*"; + pattern "[B-D]*"; + pattern "[4-7]*"; + } + } + +}