Hi,

The aim of this series is to add an implementation of and
tests for the following messages:

* Bundle add message
  + Now present in the v5 branch of of_protocol
* Request forward message
  + Now present in the v5 branch of of_protocol
  + Was pull request 70
    https://github.com/FlowForwarding/of_protocol/pull/70


A complication of implementing unit tests for bundle control add message
and request forward message is that they are OpenFlow messages that
encapsulate an OpenFlow message.  And some infrastructures changes are
required: specifically adding MsgInMsgBase, a subclass of MsgBase whose
subclasses may include MsgInMsgBase or MsgBase subclasses at other than the
top-level when parsing messages from JSON.

This change is implemented in "Allow messages inside messages".


Key changes since v4
* Address Yamamoto-san's review of v3 of
  "of14: Add bundle add message support"

Key changes since v3
* Rework "Allow messages inside messages" to add MsgInMsgBase class.
  Based on discussion with Yamamoto-san.

Key changes since v2
* Add patches to correct implementation of get async reply and set async

Changes to individual patches are noted in their changelogs.


To aid review this series and its dependencies are available at
https://github.com/horms/ryu devel/of1.4-messages-v5

I have made a wiki page to summarise the status of OF1.4 support in Ryu
https://github.com/horms/ryu/wiki/OpenFlow-V1.4-Coverage

Simon Horman (5):
  Allow messages inside messages
  of14: Add bundle add message support
  of14: Add bundle add message unit test
  Add request forward message support
  Add request forward message unit test

 ryu/lib/stringify.py                               |  14 +--
 ryu/ofproto/ofproto_parser.py                      |  10 +-
 ryu/ofproto/ofproto_v1_4.py                        |   5 +-
 ryu/ofproto/ofproto_v1_4_parser.py                 | 118 ++++++++++++++++++++-
 .../of14/5-70-ofp_bundle_add_msg.packet            | Bin 0 -> 80 bytes
 .../of14/5-71-ofp_requestforward.packet            | Bin 0 -> 56 bytes
 ryu/tests/packet_data_generator/src/x5.erl         |  44 +++++++-
 .../json/of14/5-70-ofp_bundle_add_msg.packet.json  |  40 +++++++
 .../json/of14/5-71-ofp_requestforward.packet.json  |  31 ++++++
 ryu/tests/unit/ofproto/test_parser.py              |   2 +
 10 files changed, 254 insertions(+), 10 deletions(-)
 create mode 100644 ryu/tests/packet_data/of14/5-70-ofp_bundle_add_msg.packet
 create mode 100644 ryu/tests/packet_data/of14/5-71-ofp_requestforward.packet
 create mode 100644 
ryu/tests/unit/ofproto/json/of14/5-70-ofp_bundle_add_msg.packet.json
 create mode 100644 
ryu/tests/unit/ofproto/json/of14/5-71-ofp_requestforward.packet.json

-- 
1.8.5.2


------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to