TODO: Because Open vSwitch (lib/ofp-util) does not support Egress
Tables [EXT-306] yet, re-generate the packet data by using
packet_data_generator2 when Open vSwitch supports it.

Reference: OpenFlow 1.1+ support status of Open vSwitch
https://github.com/openvswitch/ovs/blob/master/OPENFLOW-1.1%2B.md

Signed-off-by: IWASE Yusuke <[email protected]>
Signed-off-by: Minoru TAKAHASHI <[email protected]>
---
 .../libofproto-OFP15-table_features_reply.packet   | Bin 0 -> 96 bytes
 ...bofproto-OFP15-table_features_reply.packet.json |  38 +++++++++++++++++++++
 2 files changed, 38 insertions(+)
 create mode 100644 
ryu/tests/packet_data/of15/libofproto-OFP15-table_features_reply.packet
 create mode 100644 
ryu/tests/unit/ofproto/json/of15/libofproto-OFP15-table_features_reply.packet.json

diff --git 
a/ryu/tests/packet_data/of15/libofproto-OFP15-table_features_reply.packet 
b/ryu/tests/packet_data/of15/libofproto-OFP15-table_features_reply.packet
new file mode 100644
index 
0000000000000000000000000000000000000000..ce8264838107eaaf11bb7450b08c00a48f000394
GIT binary patch
literal 96
zcmZP*W=LQF0Uj{Pz!1R52xKvqBqrsg8bZaeQ2)^YPzehV|7Q?m;A>#uU|Y5O%-whY
G85jT`bQ!V$

literal 0
HcmV?d00001

diff --git 
a/ryu/tests/unit/ofproto/json/of15/libofproto-OFP15-table_features_reply.packet.json
 
b/ryu/tests/unit/ofproto/json/of15/libofproto-OFP15-table_features_reply.packet.json
new file mode 100644
index 0000000..864a85f
--- /dev/null
+++ 
b/ryu/tests/unit/ofproto/json/of15/libofproto-OFP15-table_features_reply.packet.json
@@ -0,0 +1,38 @@
+{
+   "OFPTableFeaturesStatsReply": {
+      "body": [
+         {
+            "OFPTableFeaturesStats": {
+               "capabilities": 4,
+               "command": 1,
+               "features": 1,
+               "length": 80,
+               "max_entries": 255,
+               "metadata_match": 18446744073709551615,
+               "metadata_write": 18446744073709551615,
+               "name": "table1",
+               "properties": [
+                  {
+                     "OFPTableFeaturePropOxmValues": {
+                        "length": 14,
+                        "oxm_values": [
+                           {
+                              "OXMTlv": {
+                                 "field": "eth_src",
+                                 "mask": null,
+                                 "value": "aa:bb:cc:dd:ee:ff"
+                              }
+                           }
+                        ],
+                        "type": 22
+                     }
+                  }
+               ],
+               "table_id": 1
+            }
+         }
+      ],
+      "flags": 0,
+      "type": 12
+   }
+}
-- 
1.9.1


------------------------------------------------------------------------------
Monitor Your Dynamic Infrastructure at Any Scale With Datadog!
Get real-time metrics from all of your servers, apps and tools
in one place.
SourceForge users - Click here to start your Free Trial of Datadog now!
http://pubads.g.doubleclick.net/gampad/clk?id=241902991&iu=/4140
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to