Create YANG builders for all relevant model types
[openflowplugin.git] / model / model-flow-base / src / main / yang / opendaylight-group-types.yang
index 42f94104ed31210763de328ffccb8d2a1afdcc02..e012172a1b1dacf11a9e97ccd4b60a3106f0ed30 100644 (file)
@@ -4,6 +4,8 @@ module opendaylight-group-types {
 
     import ietf-yang-types {prefix yang; revision-date "2013-07-15";}
     import opendaylight-action-types {prefix action;}
+    import openflow-protocol { prefix ofproto; revision-date "2013-07-31"; }
+    import openflow-types { prefix oft; revision-date "2013-07-31"; }
 
     revision "2013-10-18" {
         description "Initial revision of group service";
@@ -214,7 +216,7 @@ module opendaylight-group-types {
         }
     }
     
-    
+
     grouping group-statistics-reply {
        
         list group-stats {
@@ -249,5 +251,13 @@ module opendaylight-group-types {
             uses group;
         }
     }
-    
+
+    container group-message {
+        uses group;
+        uses ofproto:ofHeader;
+
+        leaf command {
+            type oft:group-mod-command;
+        }
+    }
 }