ofproto: Check overlap, emerg flow cache, and error code sync (OpenFlow 0.9)
authorJustin Pettit <jpettit@nicira.com>
Thu, 12 Nov 2009 23:40:33 +0000 (15:40 -0800)
committerJustin Pettit <jpettit@nicira.com>
Sat, 23 Jan 2010 02:08:03 +0000 (18:08 -0800)
commit4208b57394af59625797cbe9d5e48d221a64cd1a
tree4022e9bef1290ed9f1bf5c686ab7df73623cf35c
parent58463ed0384dee6cbfe8c1dd8f0b8fda2d48ce0f
ofproto: Check overlap, emerg flow cache, and error code sync (OpenFlow 0.9)

This commit adds (some) support for a couple new OpenFlow 0.9 features:

    - The OFPFF_CHECK_OVERLAP flag in Flow Mod messages allows the
      controller to prevent flows that would conflict at the same
      priority.

    - An emergency flow cache that contains a small flow table that is
      used if the switch loses connectivity with the controller.  I
      believe the design has fundamental flaws and looks likely to be
      retired.  If a controller attempts to add a flow to the emergency
      flow cache, OVS always responds that the tables are full.

The OpenFlow 0.9 error codes are also sync'd in the commit.

NOTE: OVS at this point is not wire-compatible with OpenFlow 0.9 until the
final commit in this OpenFlow 0.9 set.
include/openflow/openflow.h
lib/classifier.c
lib/classifier.h
lib/ofp-print.c
lib/vconn.c
ofproto/ofproto.c
ofproto/pktbuf.c