Update to MD-SAL APIs
[controller.git] / opendaylight / md-sal / model / model-flow-base / src / main / yang / group-types.yang
index e0f60e4054e4b919fc5303ec4b062b6a3d1bce07..b335b32f1f0df69bed9df54bc8b3cf6628a64aab 100644 (file)
@@ -152,12 +152,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;