Unit Test for md-sal netconf northbound mapping.
[controller.git] / opendaylight / md-sal / model / model-flow-base / src / main / yang / opendaylight-action-types.yang
index 43754a1dfdad4e7d8354d43005ed52661e47c202..041fc576a112582c5804ec126ddd2067dda69895 100644 (file)
@@ -30,12 +30,20 @@ module opendaylight-action-types {
         }
     }  
     
+    container action-types {   
+       uses action-list;
+    }
+
+    grouping ordered {
+        leaf order {
+          type int32;
+        }
+    }
+    
     grouping action-list {
         list action {
             key "order";
-            leaf order {
-                type int32;
-            }
+            uses ordered;
             uses action;
         }
     }
@@ -49,9 +57,7 @@ module opendaylight-action-types {
                     }
                     
                     leaf max-length {
-                        type uint16 {
-                            range "0..65294";
-                        }
+                        type uint16;
                     }
                 }
             }
@@ -59,9 +65,7 @@ module opendaylight-action-types {
             case controller-action-case {
                 container controller-action {
                  leaf max-length {
-                     type uint16 {
-                         range "0..65294";
-                     }
+                     type uint16;
                  }
              }
             }