leaf meter {
type string;
}
+
+ leaf meter-id {
+ type uint32;
+ }
}
}
}
bit SEND_FLOW_REM;
}
}
-
- grouping flow {
- container match {
- uses match:match;
- }
-
- container instructions {
- uses instruction-list;
+
+ typedef removed_reason_flags {
+ type bits {
+ bit IDLE_TIMEOUT;
+ bit HARD_TIMEOUT;
+ bit DELETE;
+ bit GROUP_DELETE;
}
-
+ }
+
+ grouping generic_flow_attributes {
leaf priority {
type uint16;
}
type uint64;
}
+ leaf table_id {
+ type uint8;
+ }
+ }
+
+ grouping flow {
+ container match {
+ uses match:match;
+ }
+
+ container instructions {
+ uses instruction-list;
+ }
+
+ uses generic_flow_attributes;
+
leaf container-name {
type string;
}
leaf cookie_mask {
- type uint8;
- }
-
- leaf table_id {
- type uint8;
+ type uint64;
}
leaf buffer_id {
type uint32;
}
- leaf flags{
+ leaf flags {
type flow-mod-flags;
}
- leaf flow-name{
+ leaf flow-name {
type string;
}
type yang:counter64;
}
}
+
+ grouping flow-mod-removed {
+ uses generic_flow_attributes;
+
+ leaf removed_reason {
+ type removed_reason_flags;
+ }
+
+ leaf duration_nsec {
+ type uint32;
+ }
+
+ leaf duration_sec {
+ type uint32;
+ }
+
+ leaf packet_count {
+ type uint64;
+ }
+
+ leaf byte_count {
+ type uint64;
+ }
+
+ container match {
+ uses match:match;
+ }
+ }
}
\ No newline at end of file