From d0733220f391d861c110ea76541d98be8f625fc8 Mon Sep 17 00:00:00 2001 From: Minoru TAKAHASHI Date: Thu, 30 Jul 2015 13:39:14 +0900 Subject: test_parser: Add test case for OFP15 group_desc request TODO:Open vSwtich (lib/ofp-util) support OF1.5 group_desc_request, but it has a bug[1]. So, re-generate the packet data by using packet_data_generator2 when Open vSwitch fix the bug. ref: 1) http://openvswitch.org/pipermail/discuss/2015-July/018253.html Signed-off-by: Minoru TAKAHASHI Signed-off-by: FUJITA Tomonori --- .../of15/libofproto-OFP15-group_desc_request.packet | Bin 0 -> 24 bytes .../of15/libofproto-OFP15-group_desc_request.packet.json | 7 +++++++ 2 files changed, 7 insertions(+) create mode 100644 ryu/tests/packet_data/of15/libofproto-OFP15-group_desc_request.packet create mode 100644 ryu/tests/unit/ofproto/json/of15/libofproto-OFP15-group_desc_request.packet.json diff --git a/ryu/tests/packet_data/of15/libofproto-OFP15-group_desc_request.packet b/ryu/tests/packet_data/of15/libofproto-OFP15-group_desc_request.packet new file mode 100644 index 00000000..6310337e Binary files /dev/null and b/ryu/tests/packet_data/of15/libofproto-OFP15-group_desc_request.packet differ diff --git a/ryu/tests/unit/ofproto/json/of15/libofproto-OFP15-group_desc_request.packet.json b/ryu/tests/unit/ofproto/json/of15/libofproto-OFP15-group_desc_request.packet.json new file mode 100644 index 00000000..f0331a40 --- /dev/null +++ b/ryu/tests/unit/ofproto/json/of15/libofproto-OFP15-group_desc_request.packet.json @@ -0,0 +1,7 @@ +{ + "OFPGroupDescStatsRequest": { + "flags": 0, + "group_id": 43981, + "type": 7 + } +} -- cgit v1.2.3