summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorMinoru TAKAHASHI <takahashi.minoru7@gmail.com>2015-07-30 13:39:14 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2015-07-31 08:31:12 +0900
commitd0733220f391d861c110ea76541d98be8f625fc8 (patch)
treeb8833e28f288485904834d0571f6e83cfb81ea96
parent69ef757e4a6c01473e6d45618bf578772885fd67 (diff)
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 <takahashi.minoru7@gmail.com> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
-rw-r--r--ryu/tests/packet_data/of15/libofproto-OFP15-group_desc_request.packetbin0 -> 24 bytes
-rw-r--r--ryu/tests/unit/ofproto/json/of15/libofproto-OFP15-group_desc_request.packet.json7
2 files changed, 7 insertions, 0 deletions
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
--- /dev/null
+++ b/ryu/tests/packet_data/of15/libofproto-OFP15-group_desc_request.packet
Binary files 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
+ }
+}