Serialization/Deserialization and a host of other fixes
[controller.git] / opendaylight / md-sal / sal-protocolbuffer-encoding / src / test / resources / odl-datastore-test.yang
index 38ec700973e423e4217646527090ccc75cc73af9..e4eca7b71738df8e06ec7bde21f0344160c68b40 100644 (file)
@@ -7,6 +7,9 @@ module odl-datastore-test {
         description "Initial revision.";
     }
 
+    identity feature-capability {
+    }
+
     container test {
         leaf desc {
             type string;
@@ -50,5 +53,39 @@ module odl-datastore-test {
             type uint8;
         }
 
+        leaf pointer {
+            type leafref {
+                path "/network-topology/topology/node/termination-point/tp-id";
+            }
+        }
+
+        leaf some-ref {
+            type instance-identifier;
+        }
+
+        leaf myidentity {
+            type identityref {
+                base feature-capability;
+            }
+        }
+
+        container switch-features {
+            leaf-list capability {
+                type identityref {
+                    base feature-capability;
+                }
+
+            }
+        }
+
+        list augmented-list {
+            key id;
+
+            leaf id {
+                type uint8;
+            }
+        }
+
+
     }
-}
\ No newline at end of file
+}