[firefly] [PATCH RFC 0/7] OF1.4 Bundles with port-mod messages
Alexandru Copot
alex.mihai.c at gmail.com
Thu Apr 10 20:20:53 EEST 2014
This is a second part of a series intended to add support for
OpenFlow 1.4 bundles composed of port-mod messages. The idea
is to get some feedback before starting the work on flow-mods.
Multiple port-mod messages may be combined and executed as
part of a bundle. Validity checks are done when messages
are added and the commit is atomic.
While a bundle is created, all other messages are queued and
processed after no more bundles are open. "ofport" data structures
can only be part of a single bundle at a time.
Signed-off-by: Alexandru Copot <alex.mihai.c at gmail.com>
Cc: Daniel Baluta <dbaluta at ixiacom.com>
Alexandru Copot (7):
ofproto: allow marking ofport as part of a bundle
ofproto: refactor handle_port_mod by extracting validity check
ofproto: export update_port_config() for future use
ofproto/bundles: first stage of commit for port_mod
tests/ofproto-macros.at: Enable OF1.4 for all tests
ofproto/connmgr: Queue messages while bundles are active
ofproto.at: Add bundles tests for queuing and port_mod
lib/ofp-msgs.h | 2 +-
lib/ofp-print.c | 2 +-
lib/ofp-util.c | 5 +-
lib/ofp-util.h | 3 +-
ofproto/bundles.c | 205 ++++++++++++++++++++++++++--
ofproto/bundles.h | 5 +-
ofproto/connmgr.c | 126 ++++++++++++++++++
ofproto/ofproto-provider.h | 4 +
ofproto/ofproto.c | 39 ++++--
ofproto/ofproto.h | 10 ++
tests/ofp-print.at | 3 +-
tests/ofproto-macros.at | 2 +-
tests/ofproto.at | 323 +++++++++++++++++++++++++++++++++++++++++++++
13 files changed, 698 insertions(+), 31 deletions(-)
--
1.9.1
More information about the firefly
mailing list