This set of patches is for parsing truncated ofp messages and test
support for it. Support for truncated message is far from complete,
but it can be made better if needed.
IWAMOTO Toshihiro (3):
ofproto_v1_3_parser: Raise OFPTruncatedMessage exception on truncated
messages
test_parser: Enable tests for truncated packets
test_parser: Add an truncate packet test
ryu/exception.py | 13 ++++
ryu/ofproto/ofproto_parser.py | 15 ++++-
ryu/ofproto/ofproto_v1_3_parser.py | 71 ++++++++++++++++------
.../of13/libofproto-OFP13-flow_mod.truncated64 | 0
...bofproto-OFP13-flow_mod.packet.truncated64.json | 33 ++++++++++
ryu/tests/unit/ofproto/test_parser.py | 35 +++++++++--
6 files changed, 141 insertions(+), 26 deletions(-)
create mode 100644
ryu/tests/packet_data/of13/libofproto-OFP13-flow_mod.truncated64
create mode 100644
ryu/tests/unit/ofproto/json/of13/libofproto-OFP13-flow_mod.packet.truncated64.json
--
2.1.4
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel