Added container and flow name details as in AD-SAL
[controller.git] / opendaylight / md-sal / model / model-flow-base / src / main / yang / group-types.yang
index e0f60e4054e4b919fc5303ec4b062b6a3d1bce07..def1bd8c5f030951e5ee88115521b83a99280124 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";
     }
 
@@ -27,12 +27,20 @@ module opendaylight-group-types {
     
     grouping group {
         
-        uses group-types;       
+        uses group-types;
         
         leaf group-id {
             type group-ref;
         }
         
+        leaf group-name {
+            type string;
+        }
+        
+        leaf container-name {
+            type string; 
+        }
+        
         container buckets {
             list bucket {
                 key "order";
@@ -152,12 +160,14 @@ module opendaylight-group-types {
             }
             
             uses group-types;
-            type capabilities {
-                enum select-weight;
-                enum select-liveness;
-                enum chaining;
-                enum chaining-checks;
-            }   
+            leaf capabilities { 
+                type enumeration {
+                    enum select-weight;
+                    enum select-liveness;
+                    enum chaining;
+                    enum chaining-checks;
+                }   
+            }
 
             leaf-list max-groups {
                 type uint32;