Signed-off-by: Simon Horman <[email protected]>
---
 .../of14/5-61-ofp_table_desc_request.packet        | Bin 0 -> 16 bytes
 .../of14/5-62-ofp_table_desc_reply.packet          | Bin 0 -> 120 bytes
 .../of14/5-61-ofp_table_desc_request.packet.json   |   6 ++
 .../of14/5-62-ofp_table_desc_reply.packet.json     |  78 +++++++++++++++++++++
 4 files changed, 84 insertions(+)
 create mode 100644 
ryu/tests/packet_data/of14/5-61-ofp_table_desc_request.packet
 create mode 100644 ryu/tests/packet_data/of14/5-62-ofp_table_desc_reply.packet
 create mode 100644 
ryu/tests/unit/ofproto/json/of14/5-61-ofp_table_desc_request.packet.json
 create mode 100644 
ryu/tests/unit/ofproto/json/of14/5-62-ofp_table_desc_reply.packet.json

diff --git a/ryu/tests/packet_data/of14/5-61-ofp_table_desc_request.packet 
b/ryu/tests/packet_data/of14/5-61-ofp_table_desc_request.packet
new file mode 100644
index 
0000000000000000000000000000000000000000..5e728623f343af0dcc7faabc4cd9e13441f00c8d
GIT binary patch
literal 16
RcmZP-Vh~^e0X{Iv0007@05$*s

literal 0
HcmV?d00001

diff --git a/ryu/tests/packet_data/of14/5-62-ofp_table_desc_reply.packet 
b/ryu/tests/packet_data/of14/5-62-ofp_table_desc_reply.packet
new file mode 100644
index 
0000000000000000000000000000000000000000..2f7b6e2ed73be493f73380fb42fbc38bf68d34fa
GIT binary patch
literal 120
zcmZP-W~g8Q0X{Ivz#zd6X8ixpzyoBYLPZ%E0yrQ{CI$$D8A7A01M&r+`WS&UBaklw
M<uif!Kn$W80Ch<U`Tzg`

literal 0
HcmV?d00001

diff --git 
a/ryu/tests/unit/ofproto/json/of14/5-61-ofp_table_desc_request.packet.json 
b/ryu/tests/unit/ofproto/json/of14/5-61-ofp_table_desc_request.packet.json
new file mode 100644
index 0000000..f5a4cde
--- /dev/null
+++ b/ryu/tests/unit/ofproto/json/of14/5-61-ofp_table_desc_request.packet.json
@@ -0,0 +1,6 @@
+{
+   "OFPTableDescStatsRequest": {
+      "flags": 0, 
+      "type": 14
+   }
+}
diff --git 
a/ryu/tests/unit/ofproto/json/of14/5-62-ofp_table_desc_reply.packet.json 
b/ryu/tests/unit/ofproto/json/of14/5-62-ofp_table_desc_reply.packet.json
new file mode 100644
index 0000000..c713bc7
--- /dev/null
+++ b/ryu/tests/unit/ofproto/json/of14/5-62-ofp_table_desc_reply.packet.json
@@ -0,0 +1,78 @@
+{
+   "OFPTableDescStatsReply": {
+      "body": [
+         {
+            "OFPTableDesc": {
+               "config": 0, 
+               "length": 24, 
+               "properties": [
+                   {
+                       "OFPTableModPropExperimenter": {
+                           "length": 12, 
+                           "type": 65535, 
+                           "exp_type": 0, 
+                           "experimenter": 101, 
+                           "data": []
+                       }
+                   }
+               ],
+               "table_id": 7
+            }
+         },
+         {
+            "OFPTableDesc": {
+               "config": 0, 
+               "length": 80, 
+               "properties": [
+                   {
+                       "OFPTableModPropEviction": {
+                           "flags": 0, 
+                           "length": 8, 
+                           "type": 2
+                       }
+                   },
+                   {
+                       "OFPTableModPropVacancy": {
+                           "length": 8, 
+                           "type": 3, 
+                           "vacancy": 0, 
+                           "vacancy_down": 0, 
+                           "vacancy_up": 0
+                       }
+                   },
+                   {
+                       "OFPTableModPropExperimenter": {
+                           "length": 12, 
+                           "type": 65535, 
+                           "exp_type": 0, 
+                           "experimenter": 101, 
+                           "data": []
+                       }
+                   },
+                   {
+                       "OFPTableModPropExperimenter": {
+                           "length": 16, 
+                           "type": 65535, 
+                           "exp_type": 1, 
+                           "experimenter": 101, 
+                           "data": [1]
+                       }
+                   },
+                   {
+                       "OFPTableModPropExperimenter": {
+                           "length": 20, 
+                           "type": 65535, 
+                           "exp_type": 2, 
+                           "experimenter": 101, 
+                           "data": [1, 2]
+                       }
+                   }
+               ],
+               "table_id": 8
+            }
+         }
+      ], 
+      "flags": 0, 
+      "type": 14
+   }
+}
-- 
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