X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=opendaylight%2Fconfig%2Fyang-test%2Fsrc%2Fmain%2Fyang%2Ftypes%2Ftest-types.yang;h=df5387be2c1f2581e2a44872ef596e62ec76d628;hb=eb75f46d2e99cb1c75b026731fd73c1dee919725;hp=84fbcb089d6390ba4478c24a0503442ad0bfd8d1;hpb=b5d0a1c60d3ff26cb4d7ecf45ee5fc0f95636c19;p=controller.git diff --git a/opendaylight/config/yang-test/src/main/yang/types/test-types.yang b/opendaylight/config/yang-test/src/main/yang/types/test-types.yang index 84fbcb089d..df5387be2c 100644 --- a/opendaylight/config/yang-test/src/main/yang/types/test-types.yang +++ b/opendaylight/config/yang-test/src/main/yang/types/test-types.yang @@ -23,4 +23,21 @@ module test-types { } } + typedef unionTest { + type union { + type string; + type uint32; + type extend-twice; + } + } + + + + identity test-identity1 { + + } + + identity test-identity2 { + base test-identity1; + } }