BUG 1330 - list key counts|values diff in payload and URI
[controller.git] / opendaylight / md-sal / sal-rest-connector / src / test / resources / full-versions / test-module / test-module
index ad0716bc11ac44d0a300f7e4a00bd35851e121f9..baf7d1e9ae7a9f61ccdf8b33cdefe728e4c16cee 100644 (file)
@@ -4,7 +4,21 @@ module test-module {
 
   revision 2014-01-09 {
   }
-  
+
+  container interfaces {
+    container class {
+        leaf name {
+            type string;
+        }
+        leaf address {
+            type string;
+        }
+        leaf email {
+            type string;
+        }
+    }
+  }
+
   container cont {
     container cont1 {
         leaf lf11 {
@@ -14,9 +28,24 @@ module test-module {
             type string;
         }
     }
-  } 
-  
+    list lst1 {
+        key "lf11";
+        leaf lf11 {
+            type string;
+        }
+    }
+  }
   
+  list lst-with-composite-key {
+    key "key1 key2";
+    leaf key1 {
+        type string;
+    }
+    leaf key2 {
+        type uint8;
+    }
+  }
+
   rpc rpc-test {
     input {
       container cont {
@@ -28,16 +57,11 @@ module test-module {
                 type string;
             }
         }
-      }    
+      }
     }
     output {
         container cont-output {
         }
-    } 
-  
+    }
   }
-  
-  
-
 }
\ No newline at end of file