This patch adds instruction OF11 apply-actions/goto-table supports.
Write-actions support is on my TODO.
Change v5 -> v6:
- revised syntax
- eliminated check of zero padding
- fixed unit test
- dropped half baked write-actions patch
Change v4 -> v5:
- improved ofpact_instruction_name_from_type
- ignore unsuported actions as Ben suggested
Changes v3 -> v4:
- patch reorganization
- unit test
- allow encoder to return error
Changes v2 -> v3:
- introduce OFPACT_{CLEAR_ACTIONS, WRITE_ACTIONS, GOTO_TABLE}
Changes v1 -> v2:
- introduce ofpact_instruction to represent instruction delimiter
thanks,
Isaku Yamahata (2):
instruction: support goto-table action
instruction/clear-actions: string parser/formater, of packet
decoder/encoder
lib/ofp-actions.c | 109 ++++++++++++++++++++++++++++++++++-----
lib/ofp-actions.h | 28 ++++++++--
lib/ofp-parse.c | 127 +++++++++++++++++++++++++++++++++++++++-------
ofproto/ofproto-dpif.c | 17 +++++++
tests/ofp-actions.at | 41 +++++++++++++--
utilities/ovs-ofctl.8.in | 12 +++++
6 files changed, 294 insertions(+), 40 deletions(-)
--
1.7.10.4
_______________________________________________
dev mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/dev