[ovs-dev] [PATCH 0/6 RFC] Role status message support (OpenFlow 1.4)

Alexandru Copot alex.mihai.c at gmail.com
Tue Oct 8 09:24:12 UTC 2013


This series adds the required functionality for notifying controllers
with the OFPT_ROLE_STATUS message introduced in OpenFlow 1.4.
Currently, this message is sent only when another controller asks
that his role is changed to master.

Alexandru Copot (6):
  include/openflow: Add OpenFlow 1.4 header file
  Add OFPTYPE_ROLE_STATUS message type for OpenFlow 1.4
  lib/ofp-util: add support for encoding OFPTYPE_ROLE_STATUS messages
  ofproto/connmgr: notify controllers when their role changes to slave
  lib/ofp-util: add decoder for role status asynchronous message
  lib/ofp-print: add support for printing role status messages

 build-aux/extract-ofp-msgs      |   3 +
 include/openflow/automake.mk    |   4 +
 include/openflow/openflow-1.4.h | 163 ++++++++++++++++++++++++++++++++++++++++
 include/openflow/openflow.h     |   1 +
 lib/learning-switch.c           |   1 +
 lib/ofp-msgs.h                  |   6 ++
 lib/ofp-print.c                 |  53 +++++++++++++
 lib/ofp-util.c                  |  44 +++++++++++
 lib/ofp-util.h                  |  12 +++
 lib/rconn.c                     |   1 +
 ofproto/connmgr.c               |  15 ++++
 ofproto/connmgr.h               |   2 +
 ofproto/ofproto.c               |   1 +
 13 files changed, 306 insertions(+)
 create mode 100644 include/openflow/openflow-1.4.h

-- 
1.8.4




More information about the dev mailing list