BUG-4688: eliminate SimpleDateFormatUtil.DEFAULT_DATE_REV
[yangtools.git] / yang / yang-data-impl / src / test / resources / odl-datastore-test.yang
index 17541fecab02c62f35c7a64cd679ad3ca52849e6..7241758eaab5101acc46defdb7be08caf80d2f02 100644 (file)
@@ -2,13 +2,32 @@ module odl-datastore-test {
     yang-version 1;
     namespace "urn:opendaylight:params:xml:ns:yang:controller:md:sal:dom:store:test";
     prefix "store-test";
-    
+
     revision "2014-03-13" {
         description "Initial revision.";
     }
 
     container test {
+        presence true;
+        choice choice1 {
+            case case1 {
+                leaf case1-leaf1 {
+                    type string;
+                    config false;
+                }
+            }
+            case case2 {
+                container case2-cont {
+                    leaf case2-leaf1 {
+                        type string;
+                        config false;
+                    }
+                }
+            }
+        }
+
         list outer-list {
+
             key id;
             leaf id {
                 type uint16;
@@ -27,8 +46,9 @@ module odl-datastore-test {
                         type string;
                     }
                }
-           }
-           list inner-list {
+            }
+            list inner-list {
+                config false;
                 key name;
                 leaf name {
                     type string;
@@ -37,6 +57,23 @@ module odl-datastore-test {
                     type string;
                 }
             }
+
+            list inner-list2 {
+                key name;
+                leaf name {
+                    type string;
+                }
+                leaf value {
+                    type string;
+                    config false;
+                }
+            }
+        }
+
+        container inner-container {
+            leaf value {
+                type string;
+            }
         }
     }
-}
\ No newline at end of file
+}