summaryrefslogtreecommitdiffstats
path: root/restconf-client/provider/src/test/resources/yang/identity-test.yang
diff options
context:
space:
mode:
Diffstat (limited to 'restconf-client/provider/src/test/resources/yang/identity-test.yang')
-rw-r--r--restconf-client/provider/src/test/resources/yang/identity-test.yang77
1 files changed, 0 insertions, 77 deletions
diff --git a/restconf-client/provider/src/test/resources/yang/identity-test.yang b/restconf-client/provider/src/test/resources/yang/identity-test.yang
deleted file mode 100644
index 12ef717f6..000000000
--- a/restconf-client/provider/src/test/resources/yang/identity-test.yang
+++ /dev/null
@@ -1,77 +0,0 @@
-module identity-test {
- yang-version 1.1;
- namespace "identity:ns:test:json:ser";
- prefix "id";
-
- import identity-types {
- prefix "type";
- }
-
- import identity-types-second {
- prefix "sec";
- }
-
- revision "2013-07-15";
-
- identity optical {
- base type:int-type;
- }
-
- identity Giga {
- base type:physical;
- }
-
- typedef available {
- type identityref {
- base "type:physical";
- }
- }
-
- typedef typed{
- type union {
- type int32;
- type int8;
- type identityref {
- base type:int-type;
- }
- }
- }
-
- container test {
- leaf l {
- type string;
- }
- container con1 {
- leaf interface {
- type identityref {
- base "type:int-type";
- }
- }
- container interfaces {
- list int-list {
- key "iden";
- leaf iden {
- type "id:typed";
- }
- container available {
- leaf-list ll {
- type available;
- }
- leaf leaf1 {
- type leafref {
- path "../../iden";
- }
- }
-
- leaf leaf2 {
- type identityref {
- base type:int-type;
- base sec:iden1;
- }
- }
- }
- }
- }
- }
- }
-}