For OpenFlow 1.5.

Signed-off-by: YAMAMOTO Takashi <[email protected]>
---
 .../of15/libofproto-OFP15-packet_in.packet.json    | 46 ++++++++++++++++++++++
 1 file changed, 46 insertions(+)
 create mode 100644 
ryu/tests/unit/ofproto/json/of15/libofproto-OFP15-packet_in.packet.json

diff --git 
a/ryu/tests/unit/ofproto/json/of15/libofproto-OFP15-packet_in.packet.json 
b/ryu/tests/unit/ofproto/json/of15/libofproto-OFP15-packet_in.packet.json
new file mode 100644
index 0000000..e5fd0bd
--- /dev/null
+++ b/ryu/tests/unit/ofproto/json/of15/libofproto-OFP15-packet_in.packet.json
@@ -0,0 +1,46 @@
+{
+   "OFPPacketIn": {
+      "buffer_id": 200, 
+      "cookie": 0, 
+      "data": "aG9nZQ==", 
+      "match": {
+         "OFPMatch": {
+            "length": 40, 
+            "oxm_fields": [
+               {
+                  "OXMTlv": {
+                     "field": "in_port", 
+                     "mask": null, 
+                     "value": 43981
+                  }
+               }, 
+               {
+                  "OXMTlv": {
+                     "field": "tunnel_id", 
+                     "mask": null, 
+                     "value": 50000
+                  }
+               }, 
+               {
+                  "OXMTlv": {
+                     "field": "tun_ipv4_src", 
+                     "mask": null, 
+                     "value": "192.168.2.3"
+                  }
+               }, 
+               {
+                  "OXMTlv": {
+                     "field": "tun_ipv4_dst", 
+                     "mask": null, 
+                     "value": "192.168.2.4"
+                  }
+               }
+            ], 
+            "type": 1
+         }
+      }, 
+      "reason": 0, 
+      "table_id": 100, 
+      "total_len": 1000
+   }
+}
-- 
2.1.0


------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to