Add ability to direct "packet-in"s to particular controllers.
authorBen Pfaff <blp@nicira.com>
Thu, 9 Feb 2012 22:17:33 +0000 (14:17 -0800)
committerBen Pfaff <blp@nicira.com>
Mon, 27 Feb 2012 21:21:44 +0000 (13:21 -0800)
commita7349929fb86d41f2e2ef77395e33b21f9457d48
tree251163adb31b01bc347e336b132b47e58d8f6413
parent7c1a76a4673be09de56743400dfb1d1c8d8d0799
Add ability to direct "packet-in"s to particular controllers.

Nicira's controllers are somewhat heterogeneous, so that particular
"packet-in" messages should be directed to particular controllers.  This
new Nicira extension action allows designating a controller or controllers
to receive the "packet-in" using a 16-bit integer ID.

The new NXAST_CONTROLLER action also specifies the "reason" code to include
in the "packet-in" message.  This is particularly useful for simulating a
"no-match" "packet-in" using a rule.

Feature #8946.
Signed-off-by: Ben Pfaff <blp@nicira.com>
18 files changed:
DESIGN
NEWS
include/openflow/nicira-ext.h
lib/learning-switch.c
lib/ofp-errors.h
lib/ofp-parse.c
lib/ofp-print.c
lib/ofp-util.c
lib/ofp-util.def
lib/ofp-util.h
ofproto/connmgr.c
ofproto/connmgr.h
ofproto/ofproto-dpif.c
ofproto/ofproto.c
tests/ofp-print.at
tests/ofproto.at
tests/ovs-ofctl.at
utilities/ovs-ofctl.8.in