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, 20 Feb 2010 10:22:27 +0000 (02:22 -0800)
commit49bdc010dfc9f396eec608148ca0f4ea71a0c4dd
tree0c8fcaed82a17e0e98ef913d427a8be646897792
parent959a2ecdc8a5ffe53e74456ff6eb1ec25092db75
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