Added container and flow name details as in AD-SAL 09/2009/2
authorPrasanna Huddar <prasanna.huddar@ericsson.com>
Fri, 18 Oct 2013 11:25:36 +0000 (16:55 +0530)
committerGerrit Code Review <gerrit@opendaylight.org>
Mon, 21 Oct 2013 10:03:43 +0000 (10:03 +0000)
Signed-off-by: Prasanna Huddar <prasanna.huddar@ericsson.com>
Change-Id: I0350a78b59ba8068c642483cab5217c79ec71a71

opendaylight/md-sal/model/model-flow-base/src/main/yang/flow-types.yang
opendaylight/md-sal/model/model-flow-base/src/main/yang/group-types.yang
opendaylight/md-sal/model/model-flow-base/src/main/yang/port-types.yang

index 634c8db..9688e75 100644 (file)
@@ -178,6 +178,15 @@ module opendaylight-flow-types {
         }
     }
 
+    typedef flow-mod-flags {
+        type bits {
+            bit CHECK_OVERLAP;
+            bit RESET_COUNTS;
+            bit NO_PKT_COUNTS;
+            bit NO_BYT_COUNTS;
+        }
+    }
+    
     grouping flow {
         container match {
             uses match:match;
@@ -204,6 +213,38 @@ module opendaylight-flow-types {
         leaf cookie {
             type uint64;
         }
+        
+        leaf container-name {
+            type string; 
+        }
+        
+        leaf cookie_mask {
+            type uint8;
+        }
+        
+        leaf table_id {
+            type uint64;
+        }
+        
+        leaf buffer_id {
+            type uint32;
+        }
+        
+        leaf out_port {
+            type uint64;
+        }
+        
+        leaf out_group {
+            type uint32;
+        }
+        
+        leaf flags{
+            type flow-mod-flags;
+        }
+        
+        leaf flow-name{
+            type string;
+        }
     }
 
     grouping flow-statistics {
index eee233f..def1bd8 100644 (file)
@@ -6,7 +6,7 @@ module opendaylight-group-types {
     import ietf-yang-types {prefix yang;}
     import opendaylight-flow-types {prefix flow-types;}
 
-    revision "2013-09-18" {
+    revision "2013-10-18" {
         description "Initial revision of group service";
     }
 
@@ -33,6 +33,14 @@ module opendaylight-group-types {
             type group-ref;
         }
         
+        leaf group-name {
+            type string;
+        }
+        
+        leaf container-name {
+            type string; 
+        }
+        
         container buckets {
             list bucket {
                 key "order";
index af7c4df..0df6b52 100644 (file)
@@ -128,8 +128,16 @@ module opendaylight-port-types {
                 leaf mask {
                     type uint32;
                     description "Bitmap of OFPPC-* flags to be changed";
-                }       
-            }
+                }      
+                
+                leaf container-name {
+                    type string; 
+                }
+            
+                leaf port-name {
+                    type string; 
+                }                
+            }            
         }    
     }
 }
\ No newline at end of file