mirror of
https://github.com/openvswitch/ovs
synced 2025-09-03 07:45:30 +00:00
openflow-1.1+: OFPT_TABLE_MOD (part 1)
Added infrastructure to support Openflow OFPT_TABLE_MOD message. This patch does not include the flexible table miss handling code that is necessary to support the semantics specified in OFPT_TABLE_MOD messages. Current flow miss behavior continues to conform to Openflow 1.0. Future commits to add more flexible table miss support are needed to fully support OPFT_TABLE_MOD for Openflow-1.1+. Signed-off-by: Andy Zhou <azhou@nicira.com> Signed-off-by: Ben Pfaff <blp@nicira.com>
This commit is contained in:
@@ -565,6 +565,17 @@ enum ofperr ofputil_decode_port_mod(const struct ofp_header *,
|
||||
struct ofpbuf *ofputil_encode_port_mod(const struct ofputil_port_mod *,
|
||||
enum ofputil_protocol);
|
||||
|
||||
/* Abstract ofp_table_mod. */
|
||||
struct ofputil_table_mod {
|
||||
uint8_t table_id; /* ID of the table, 0xff indicates all tables. */
|
||||
uint32_t config;
|
||||
};
|
||||
|
||||
enum ofperr ofputil_decode_table_mod(const struct ofp_header *,
|
||||
struct ofputil_table_mod *);
|
||||
struct ofpbuf *ofputil_encode_table_mod(const struct ofputil_table_mod *,
|
||||
enum ofputil_protocol);
|
||||
|
||||
/* Meter band configuration for all supported band types. */
|
||||
struct ofputil_meter_band {
|
||||
uint16_t type;
|
||||
|
Reference in New Issue
Block a user