[ovs-dev] [PATCH RFC 0/5] OF1.4 Bundles with port-mod messages

Alexandru Copot alex.mihai.c at gmail.com
Tue May 6 18:28:26 UTC 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. A staging area is used
to keep the original data structures unmodified until the
bundle is commited.

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 (5):
  ofproto: Refactor handle_port_mod() by extracting validity check
  ofproto: Export update_port_config() for future use
  ofproto/bundles: Use staging area for port_mod messages
  ofproto/connmgr: Queue messages while bundles are active
  ofproto.at: Add bundles tests for queuing and port_mod

 ofproto/bundles.c          | 189 +++++++++++++++++++++++++-
 ofproto/bundles.h          |   1 -
 ofproto/connmgr.c          | 124 +++++++++++++++++
 ofproto/ofproto-provider.h |   4 +
 ofproto/ofproto.c          |  36 +++--
 ofproto/ofproto.h          |  10 ++
 tests/ofproto.at           | 323 +++++++++++++++++++++++++++++++++++++++++++++
 7 files changed, 672 insertions(+), 15 deletions(-)


More information about the dev mailing list