Signed-off-by: Prasanna Huddar <prasanna.huddar@ericsson.com>
Change-Id: I0350a78b59ba8068c642483cab5217c79ec71a71
+ typedef flow-mod-flags {
+ type bits {
+ bit CHECK_OVERLAP;
+ bit RESET_COUNTS;
+ bit NO_PKT_COUNTS;
+ bit NO_BYT_COUNTS;
+ }
+ }
+
grouping flow {
container match {
uses match:match;
grouping flow {
container match {
uses match:match;
leaf cookie {
type uint64;
}
leaf cookie {
type uint64;
}
+
+ leaf container-name {
+ type string;
+ }
+
+ leaf cookie_mask {
+ type uint8;
+ }
+
+ leaf table_id {
+ type uint64;
+ }
+
+ leaf buffer_id {
+ type uint32;
+ }
+
+ leaf out_port {
+ type uint64;
+ }
+
+ leaf out_group {
+ type uint32;
+ }
+
+ leaf flags{
+ type flow-mod-flags;
+ }
+
+ leaf flow-name{
+ type string;
+ }
}
grouping flow-statistics {
}
grouping flow-statistics {
import ietf-yang-types {prefix yang;}
import opendaylight-flow-types {prefix flow-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";
}
description "Initial revision of group service";
}
+ leaf group-name {
+ type string;
+ }
+
+ leaf container-name {
+ type string;
+ }
+
container buckets {
list bucket {
key "order";
container buckets {
list bucket {
key "order";
leaf mask {
type uint32;
description "Bitmap of OFPPC-* flags to be changed";
leaf mask {
type uint32;
description "Bitmap of OFPPC-* flags to be changed";
+ }
+
+ leaf container-name {
+ type string;
+ }
+
+ leaf port-name {
+ type string;
+ }
+ }
}
}
}
\ No newline at end of file
}
}
}
\ No newline at end of file