Fixed discard-changes for mdsal netconf, mapping code cleanup.
[controller.git] / opendaylight / md-sal / model / model-flow-base / src / main / yang / opendaylight-action-types.yang
index 3cc490f01774ae710aa94c93f4b8223099b989f2..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;
         }
     }