type uint32;
}
+ typedef bucket-id {
+ type uint32;
+ }
+
typedef group-types {
type enumeration {
enum group-all;
description "Check chaining for loops and delete";
}
+ typedef group-ref {
+ type instance-identifier;
+ }
+
grouping group {
leaf group-type {
type string;
}
- leaf install {
- type boolean;
- }
-
leaf barrier {
type boolean;
}
container buckets {
list bucket {
- key "order";
- leaf order {
- type int32;
+ key "bucket-id";
+ leaf bucket-id {
+ type bucket-id;
}
leaf weight {
grouping group-statistics {
leaf group-id {
- type int32;
+ type group-id;
}
leaf ref-count {
container buckets {
list bucket-counter {
- key "order";
- leaf order {
- type int32;
+ key "bucket-id";
+ leaf bucket-id {
+ type bucket-id;
}
leaf packet-count {
grouping group-statistics-request {
list group-stats {
key "group-id";
-
leaf group-id {
- type int32;
+ type group-id;
}
}
}
grouping group-statistics-reply {
list group-stats {
- key "group-stats-order";
- leaf group-stats-order {
- type int32;
- }
-
+ key "group-id";
uses group-statistics;
}
}
grouping group-desc-stats-reply {
list group-desc-stats {
- key "order-id";
- leaf order-id {
- type int32;
- }
-
+ key "group-id";
uses group;
}
}
uses group-features;
}
+ grouping groups {
+ list group {
+ key "group-id";
+
+ uses group;
+ }
+ }
+
}
\ No newline at end of file