Create YANG builders for all relevant model types
[openflowplugin.git] / model / model-flow-base / src / main / yang / opendaylight-flow-types.yang
index 9de9cb7215173d72f6cf923efc0d4ca66986c6c8..b07c4bfe2b1ca129551eaf78e8e0be97c4fc38a4 100644 (file)
@@ -6,6 +6,8 @@ module opendaylight-flow-types {
     import opendaylight-match-types {prefix match; revision-date "2013-10-26";}
     import opendaylight-action-types {prefix action;}
     import opendaylight-meter-types {prefix meter; revision-date "2013-09-18";}
+    import openflow-protocol { prefix ofproto; revision-date "2013-07-31"; }
+    import openflow-types { prefix oft; revision-date "2013-07-31"; }
 
     revision "2013-10-26" {
         description "Initial revision of flow service";
@@ -268,4 +270,13 @@ module opendaylight-flow-types {
             uses match:match;
         }
     }
+
+    container flow-message {
+        uses flow;
+        uses ofproto:ofHeader;
+
+        leaf command {
+            type oft:flow-mod-command;
+        }
+    }
 }