Signed-off-by: Simon Horman <[email protected]>
---
 .../of14/5-64-ofp_queue_desc_reply.packet          | Bin 0 -> 136 bytes
 .../of14/5-64-ofp_queue_desc_reply.packet.json     |  76 +++++++++++++++++++++
 2 files changed, 76 insertions(+)
 create mode 100644 ryu/tests/packet_data/of14/5-64-ofp_queue_desc_reply.packet
 create mode 100644 
ryu/tests/unit/ofproto/json/of14/5-64-ofp_queue_desc_reply.packet.json

diff --git a/ryu/tests/packet_data/of14/5-64-ofp_queue_desc_reply.packet 
b/ryu/tests/packet_data/of14/5-64-ofp_queue_desc_reply.packet
new file mode 100644
index 
0000000000000000000000000000000000000000..d9f6f11b928053feadf3b4c581391f465f261bf5
GIT binary patch
literal 136
zcmZP-X6Rr50e&zEBG|z!1u)6*|33o{kd+GIfk_S^$;c1^6=7uHVAKJ!nHV^jTNp6Z
Y1N934WkLEGK^Vvvf%2K4Vj!9U0L_F8&Hw-a

literal 0
HcmV?d00001

diff --git 
a/ryu/tests/unit/ofproto/json/of14/5-64-ofp_queue_desc_reply.packet.json 
b/ryu/tests/unit/ofproto/json/of14/5-64-ofp_queue_desc_reply.packet.json
new file mode 100644
index 0000000..25989ad
--- /dev/null
+++ b/ryu/tests/unit/ofproto/json/of14/5-64-ofp_queue_desc_reply.packet.json
@@ -0,0 +1,76 @@
+{
+   "OFPQueueDescStatsReply": {
+      "body": [
+         {
+            "OFPQueueDesc": {
+               "len": 32, 
+               "port_no": 7, 
+               "properties": [
+                   {
+                       "OFPQueueDescPropExperimenter": {
+                           "length": 12, 
+                           "type": 65535, 
+                           "exp_type": 0, 
+                           "experimenter": 101, 
+                           "data": []
+                       }
+                   }
+               ], 
+               "queue_id": 0
+            }
+         },
+         {
+            "OFPQueueDesc": {
+               "len": 88, 
+               "port_no": 8, 
+               "properties": [
+                   {
+                      "OFPQueueDescPropMinRate": {
+                          "length": 8, 
+                          "type": 1, 
+                          "rate": 300
+                       }
+                   },
+                   {
+                      "OFPQueueDescPropMaxRate": {
+                          "length": 8, 
+                          "type": 2, 
+                          "rate": 900
+                       }
+                   },
+                   {
+                       "OFPQueueDescPropExperimenter": {
+                           "length": 12, 
+                           "type": 65535, 
+                           "exp_type": 0, 
+                           "experimenter": 101, 
+                           "data": []
+                       }
+                   },
+                   {
+                       "OFPQueueDescPropExperimenter": {
+                           "length": 16, 
+                           "type": 65535, 
+                           "exp_type": 1, 
+                           "experimenter": 101, 
+                           "data": [1]
+                       }
+                   },
+                   {
+                       "OFPQueueDescPropExperimenter": {
+                           "length": 20, 
+                           "type": 65535, 
+                           "exp_type": 2, 
+                           "experimenter": 101, 
+                           "data": [1, 2]
+                       }
+                   }
+               ], 
+               "queue_id": 1
+            }
+         }
+      ], 
+      "flags": 0, 
+      "type": 15
+   }
+}
-- 
1.8.5.2


------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to