summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--ryu/tests/packet_data/of15/libofproto-OFP15-packet_out.packetbin0 -> 52 bytes
-rw-r--r--ryu/tests/unit/ofproto/json/of15/libofproto-OFP15-packet_out.packet.json32
2 files changed, 32 insertions, 0 deletions
diff --git a/ryu/tests/packet_data/of15/libofproto-OFP15-packet_out.packet b/ryu/tests/packet_data/of15/libofproto-OFP15-packet_out.packet
new file mode 100644
index 00000000..b3569026
--- /dev/null
+++ b/ryu/tests/packet_data/of15/libofproto-OFP15-packet_out.packet
Binary files differ
diff --git a/ryu/tests/unit/ofproto/json/of15/libofproto-OFP15-packet_out.packet.json b/ryu/tests/unit/ofproto/json/of15/libofproto-OFP15-packet_out.packet.json
new file mode 100644
index 00000000..d8287cce
--- /dev/null
+++ b/ryu/tests/unit/ofproto/json/of15/libofproto-OFP15-packet_out.packet.json
@@ -0,0 +1,32 @@
+{
+ "OFPPacketOut": {
+ "actions": [
+ {
+ "OFPActionOutput": {
+ "len": 16,
+ "max_len": 65535,
+ "port": 4294967291,
+ "type": 0
+ }
+ }
+ ],
+ "actions_len": 16,
+ "buffer_id": 4294967295,
+ "data": "dGVzdA==",
+ "match": {
+ "OFPMatch": {
+ "length": 12,
+ "oxm_fields": [
+ {
+ "OXMTlv": {
+ "field": "in_port",
+ "mask": null,
+ "value": 4294967040
+ }
+ }
+ ],
+ "type": 1
+ }
+ }
+ }
+}