From: Ambika Arora <ambika.ar...@tcs.com>

This patch adds support for Openflow1.4 error codes for set-async-config.
In this patch, a new error type, OFPET_ASYNC_CONFIG_FAILED is introduced
that enables the switch to properly inform the controller when controller
tries to set invalid mask or unsupported configuration.

Signed-off-by: Ambika Arora <ambika.ar...@tcs.com>
---
Difference between v1 and v2:
- Rebased with latest master
- Removed code redundancy as suggested in comments.

The github pull request is at:
 https://github.com/openvswitch/ovs/pull/69

 lib/ofp-errors.h   | 13 ++++++++++
 lib/ofp-print.c    | 14 ++++++++++-
 lib/ofp-util.c     | 70 ++++++++++++++++++++++++++++++++++++++++++++++++++----
 lib/ofp-util.h     | 31 ++++++++++++++++++++++++
 ofproto/ofproto.c  |  6 ++++-
 tests/ofp-print.at | 24 +++++++++++++++++++
 6 files changed, 151 insertions(+), 7 deletions(-)

-- 
2.5.0

_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to