summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--ryu/tests/unit/ofproto/json/of15/libofproto-OFP15-packet_in.packet.json46
1 files changed, 46 insertions, 0 deletions
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 00000000..e5fd0bd9
--- /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
+ }
+}