Signed-off-by: YAMAMOTO Takashi <[email protected]>
---
 .../unit/ofproto/data/ofp_desc_stats_reply.packet.json    | 14 ++++++++++++++
 ryu/tests/unit/ofproto/data/ofp_packet_out.packet.json    | 15 +++++++++++++++
 2 files changed, 29 insertions(+)
 create mode 100644 ryu/tests/unit/ofproto/data/ofp_desc_stats_reply.packet.json
 create mode 100644 ryu/tests/unit/ofproto/data/ofp_packet_out.packet.json

diff --git a/ryu/tests/unit/ofproto/data/ofp_desc_stats_reply.packet.json 
b/ryu/tests/unit/ofproto/data/ofp_desc_stats_reply.packet.json
new file mode 100644
index 0000000..ac67be5
--- /dev/null
+++ b/ryu/tests/unit/ofproto/data/ofp_desc_stats_reply.packet.json
@@ -0,0 +1,14 @@
+{
+    "OFPStatsReply": {
+        "body": {
+            "OFPDescStats": {
+                "dp_desc": 
"ZHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==",
 
+                "hw_desc": 
"aHcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==",
 
+                "mfr_desc": 
"bWZyAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==",
 
+                "serial_num": "c2VyaWFsAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=", 
+                "sw_desc": 
"c3cAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=="
+            }
+        }, 
+        "flags": 0
+    }
+}
\ No newline at end of file
diff --git a/ryu/tests/unit/ofproto/data/ofp_packet_out.packet.json 
b/ryu/tests/unit/ofproto/data/ofp_packet_out.packet.json
new file mode 100644
index 0000000..a2fe690
--- /dev/null
+++ b/ryu/tests/unit/ofproto/data/ofp_packet_out.packet.json
@@ -0,0 +1,15 @@
+{
+    "OFPPacketOut": {
+        "actions": [
+            {   
+                "OFPActionOutput": {
+                    "max_len": 65535,
+                    "port": 4294967292
+                }
+            }
+        ],
+        "buffer_id": 4294967295,
+        "data": 
"8guk0D9w8gukffjqCABFAABU+BoAAP8Br4sKAAABCgAAAggAAgj3YAAAMdYCAAAAAACrjS0xAAAAABAREhMUFRYXGBkaGxwdHh8gISIjJCUmJygpKissLS4vAAAAAAAAAAA=",
+        "in_port": 4294967293
+    }
+}
-- 
1.8.1.5


------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to