[ovs-dev] [PATCH v2] ofctl: This patch add support for setting the first egress table for egress processing.

niti1489 at gmail.com niti1489 at gmail.com
Tue Sep 15 06:10:50 UTC 2015


From: Niti Rohilla <niti.rohilla at tcs.com>

"ovs-ofctl set-first-egress-table <SWITCH> <table_id>" can be used to set first egress
table.
This patch enhances TABLE_FEATURES_REQUEST message to set the first egress table and
TABLE_FEATURES_REPLY to identify the table which is configured as first egress table.

Signed-off-by: Niti Rohilla <niti.rohilla at tcs.com>
---
The Git pull request for this patch is at:
https://github.com/openvswitch/ovs/pull/72

Difference between v1->v2:
- Rebased with master
- Declared the variable first_egress_table as static.

 include/openflow/openflow-1.5.h | 168 ++++++++++++++
 lib/ofp-msgs.h                  |  16 +-
 lib/ofp-parse.c                 |  24 ++
 lib/ofp-parse.h                 |   6 +
 lib/ofp-print.c                 |   6 +
 lib/ofp-util.c                  | 500 +++++++++++++++++++++++++++++++++++-----
 lib/ofp-util.h                  |  13 +-
 ofproto/ofproto-provider.h      |   5 +
 ofproto/ofproto.c               |  29 ++-
 tests/ofp-print.at              | 222 ++++++++++++++++++
 tests/ofproto.at                | 227 ++++++++++++++++++
 utilities/ovs-ofctl.c           |  36 ++-
 12 files changed, 1190 insertions(+), 62 deletions(-)

-- 
2.5.0




More information about the dev mailing list