Added container wrapper against action to support augmentation
[controller.git] / opendaylight / md-sal / model / model-flow-base / src / main / yang / opendaylight-action-types.yang
index 43754a1dfdad4e7d8354d43005ed52661e47c202..fdc8d02e176d52201ea7022a559de2eada25512b 100644 (file)
@@ -30,6 +30,10 @@ module opendaylight-action-types {
         }
     }  
     
+    container action-types {   
+       uses action-list;
+    }
+    
     grouping action-list {
         list action {
             key "order";
@@ -49,9 +53,7 @@ module opendaylight-action-types {
                     }
                     
                     leaf max-length {
-                        type uint16 {
-                            range "0..65294";
-                        }
+                        type uint16;
                     }
                 }
             }
@@ -59,9 +61,7 @@ module opendaylight-action-types {
             case controller-action-case {
                 container controller-action {
                  leaf max-length {
-                     type uint16 {
-                         range "0..65294";
-                     }
+                     type uint16;
                  }
              }
             }