Signed-off-by: IWAMOTO Toshihiro <[email protected]>
---
 .../ovs-ofctl-of13-match_load_nx_register.packet   | Bin 0 -> 104 bytes
 ...s-ofctl-of13-match_load_nx_register.packet.json |  60 +++++++++++++++++++++
 2 files changed, 60 insertions(+)
 create mode 100644 
ryu/tests/packet_data/of13/ovs-ofctl-of13-match_load_nx_register.packet
 create mode 100644 
ryu/tests/unit/ofproto/json/of13/ovs-ofctl-of13-match_load_nx_register.packet.json

diff --git 
a/ryu/tests/packet_data/of13/ovs-ofctl-of13-match_load_nx_register.packet 
b/ryu/tests/packet_data/of13/ovs-ofctl-of13-match_load_nx_register.packet
new file mode 100644
index 
0000000000000000000000000000000000000000..8b738c8cc3b634d6361d6cd4c65de4c95ee55d58
GIT binary patch
literal 104
zcmZSKW5{4&U|<q539Fd3=iZ0^P{7Ox6lG{&fbl^zNQ8lrK>~<b7#M_17#O)Z7#LQc
gWdN!IiYS1jfh-9I24w{Xc1CH4ItB*bSGV5*0A=PPcmMzZ

literal 0
HcmV?d00001

diff --git 
a/ryu/tests/unit/ofproto/json/of13/ovs-ofctl-of13-match_load_nx_register.packet.json
 
b/ryu/tests/unit/ofproto/json/of13/ovs-ofctl-of13-match_load_nx_register.packet.json
new file mode 100644
index 0000000..0b173a4
--- /dev/null
+++ 
b/ryu/tests/unit/ofproto/json/of13/ovs-ofctl-of13-match_load_nx_register.packet.json
@@ -0,0 +1,60 @@
+{
+   "OFPFlowMod": {
+      "buffer_id": 4294967295, 
+      "command": 1, 
+      "cookie": 1311768467463790320, 
+      "cookie_mask": 18446744073709551615, 
+      "flags": 0, 
+      "hard_timeout": 0, 
+      "idle_timeout": 0, 
+      "instructions": [
+         {
+            "OFPInstructionActions": {
+               "actions": [
+                  {
+                     "NXActionRegLoad": {
+                        "dst": "reg0", 
+                        "experimenter": 8992, 
+                        "len": 24, 
+                        "nbits": 28, 
+                        "ofs": 4, 
+                        "subtype": 7, 
+                        "type": 65535, 
+                        "value": 233495534
+                     }
+                  }
+               ], 
+               "len": 32, 
+               "type": 4
+            }
+         }
+      ], 
+      "match": {
+         "OFPMatch": {
+            "length": 24, 
+            "oxm_fields": [
+               {
+                  "OXMTlv": {
+                     "field": "reg0", 
+                     "mask": null, 
+                     "value": 4660
+                  }
+               }, 
+               {
+                  "OXMTlv": {
+                     "field": "reg5", 
+                     "mask": 65535, 
+                     "value": 43981
+                  }
+               }
+            ], 
+            "type": 1
+         }
+      }, 
+      "out_group": 4294967295, 
+      "out_port": 4294967295, 
+      "priority": 32768, 
+      "table_id": 3, 
+      "xid": 2
+   }
+}
-- 
2.1.4


------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to