TODO: Because Open vSwitch (lib/ofp-util) does not support queue_desc request,
re-generate the packet data by using packet_data_generator2 when Open vSwitch 
supports it.

Reference: OpenFlow 1.1+ support status of Open vSwitch
https://github.com/openvswitch/ovs/blob/master/OPENFLOW-1.1%2B.md

Signed-off-by: Minoru TAKAHASHI <[email protected]>
---
 .../of15/libofproto-OFP15-queue_desc_request.packet        | Bin 0 -> 24 bytes
 .../of15/libofproto-OFP15-queue_desc_request.packet.json   |   8 ++++++++
 2 files changed, 8 insertions(+)
 create mode 100644 
ryu/tests/packet_data/of15/libofproto-OFP15-queue_desc_request.packet
 create mode 100644 
ryu/tests/unit/ofproto/json/of15/libofproto-OFP15-queue_desc_request.packet.json

diff --git 
a/ryu/tests/packet_data/of15/libofproto-OFP15-queue_desc_request.packet 
b/ryu/tests/packet_data/of15/libofproto-OFP15-queue_desc_request.packet
new file mode 100644
index 
0000000000000000000000000000000000000000..960dbeff59583cf08e9d71656c62c3dbe85c823a
GIT binary patch
literal 24
YcmZP*Vvt|}0e&zEB+jm8V7Rvj01vzaQUCw|

literal 0
HcmV?d00001

diff --git 
a/ryu/tests/unit/ofproto/json/of15/libofproto-OFP15-queue_desc_request.packet.json
 
b/ryu/tests/unit/ofproto/json/of15/libofproto-OFP15-queue_desc_request.packet.json
new file mode 100644
index 0000000..db1f85d
--- /dev/null
+++ 
b/ryu/tests/unit/ofproto/json/of15/libofproto-OFP15-queue_desc_request.packet.json
@@ -0,0 +1,8 @@
+{
+    "OFPQueueDescStatsRequest": {
+        "flags": 0,
+        "port_no": 52651,
+        "queue_id": 57020,
+        "type": 15
+    }
+}
-- 
1.9.1


------------------------------------------------------------------------------
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to