These commits improve logging of OpenFlow errors on the switch side
and report more specific OpenFlow error codes to the controller in
some situations.

Ben Pfaff (6):
  ofp-util: Avoid linear search in OpenFlow message type decoding.
  ofp-util: New function ofputil_decode_msg_type_partial().
  ofproto: Consistently log OpenFlow error replies.
  ofproto: Issue OpenFlow error for bad table IDs.
  ofproto: Add error code for bad role.
  ofproto: Reject invalid input ports in OFPT_PACKET_OUT requests.

 include/openflow/nicira-ext.h |   15 +-
 lib/ofp-util.c                |  570 ++++++++++++++++++-----------------------
 lib/ofp-util.h                |    2 +
 ofproto/connmgr.c             |   24 ++-
 ofproto/ofproto-dpif.c        |    4 +
 ofproto/ofproto.c             |   78 ++++--
 tests/ofp-print.at            |    2 +-
 7 files changed, 337 insertions(+), 358 deletions(-)

-- 
1.7.4.4

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

Reply via email to