Fixed as per comments by changed leaf name
[controller.git] / opendaylight / md-sal / model / model-flow-base / src / main / yang / group-types.yang
index f03e28b1108a1dee502b3550fbdfa241d0467d41..e01a257c3dff97efe4f3f611a65869f81dab3b7d 100644 (file)
@@ -84,6 +84,10 @@ module opendaylight-group-types {
        description "Check chaining for loops and delete";
     }
     
+    typedef group-ref {
+        type instance-identifier;
+    }
+    
     grouping group {
         
         leaf group-type {
@@ -236,4 +240,12 @@ module opendaylight-group-types {
        uses group-features;
     }
     
+    grouping groups {
+        list group {
+            key "group-id";                  
+        
+            uses group;
+        }
+    }
+    
 }
\ No newline at end of file