[firefly] [PATCH 0/2 v2] Add Role Status Message support (OF1.4)

Alexandru Copot alex.mihai.c at gmail.com
Tue Oct 22 10:31:09 EEST 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.

---
Changes since v1:
- only 2 patches now
- removed zero length arrays from messages and
  added comments for them
- refactored parts of ofp_print_role_message()
- added ofp-print.at test
- sparse fixes


Alexandru Copot (2):
  include/openflow: Add OpenFlow 1.4 header file
  add support for sending OFPTYPE_ROLE_STATUS messages

 build-aux/extract-ofp-msgs      |   3 +
 include/openflow/automake.mk    |   4 ++
 include/openflow/openflow-1.4.h | 156 ++++++++++++++++++++++++++++++++++++++++
 include/openflow/openflow.h     |   1 +
 lib/learning-switch.c           |   1 +
 lib/ofp-msgs.h                  |   6 ++
 lib/ofp-print.c                 |  67 +++++++++++++----
 lib/ofp-util.c                  |  45 ++++++++++++
 lib/ofp-util.h                  |  12 ++++
 lib/rconn.c                     |   1 +
 ofproto/connmgr.c               |  17 ++++-
 ofproto/connmgr.h               |   2 +
 ofproto/ofproto.c               |   1 +
 tests/ofp-print.at              |  30 ++++++++
 14 files changed, 332 insertions(+), 14 deletions(-)
 create mode 100644 include/openflow/openflow-1.4.h

-- 
1.8.4.1



More information about the firefly mailing list