namespace "urn:opendaylight:group:types";
prefix group;
- import ietf-inet-types {prefix inet;}
- import ietf-yang-types {prefix yang;}
- import opendaylight-flow-types {prefix flow-types;}
+ import ietf-inet-types {prefix inet; revision-date "2010-09-24";}
+ import ietf-yang-types {prefix yang; revision-date "2010-09-24";}
+ import opendaylight-action-types {prefix action;}
- revision "2013-09-18" {
+ revision "2013-10-18" {
description "Initial revision of group service";
}
- typedef group-ref {
- type instance-identifier;
+ typedef group-id {
+ type uint32;
}
grouping group-types {
uses group-types;
leaf group-id {
- type group-ref;
+ type group-id;
}
+ leaf group-name {
+ type string;
+ }
+
+ leaf container-name {
+ type string;
+ }
+
+ leaf install {
+ type boolean;
+ }
+
+ leaf barrier {
+ type boolean;
+ }
+
container buckets {
list bucket {
key "order";
type uint32;
}
- container actions {
- list action {
- key "action-order";
- leaf action-order {
- type int32;
- }
-
- uses flow-types:action;
- }
- }
+ uses action:action-list;
}
}
}
}
uses group-types;
+
leaf capabilities {
type enumeration {
enum select-weight;