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 <iwase.yusu...@gmail.com>
---
 .../libofproto-OFP15-table_features_request.packet | Bin 0 -> 96 bytes
 ...fproto-OFP15-table_features_request.packet.json |  38 +++++++++++++++++++++
 2 files changed, 38 insertions(+)
 create mode 100644 
ryu/tests/packet_data/of15/libofproto-OFP15-table_features_request.packet
 create mode 100644 
ryu/tests/unit/ofproto/json/of15/libofproto-OFP15-table_features_request.packet.json

diff --git 
a/ryu/tests/packet_data/of15/libofproto-OFP15-table_features_request.packet 
b/ryu/tests/packet_data/of15/libofproto-OFP15-table_features_request.packet
new file mode 100644
index 
0000000000000000000000000000000000000000..706d875630f377b2660e312a1e09b6150c6c7ae3
GIT binary patch
literal 96
zcmZP*Vn|>B0Uj{Pz!1R52xKvqBqrsg8bZaeQ2)^YPzehV|7Q?m;A>#uU|Y5O%-whY
G85jT`6&bMr

literal 0
HcmV?d00001

diff --git 
a/ryu/tests/unit/ofproto/json/of15/libofproto-OFP15-table_features_request.packet.json
 
b/ryu/tests/unit/ofproto/json/of15/libofproto-OFP15-table_features_request.packet.json
new file mode 100644
index 0000000..986e143
--- /dev/null
+++ 
b/ryu/tests/unit/ofproto/json/of15/libofproto-OFP15-table_features_request.packet.json
@@ -0,0 +1,38 @@
+{
+    "OFPTableFeaturesStatsRequest": {
+        "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



------------------------------------------------------------------------------
_______________________________________________
Ryu-devel mailing list
Ryu-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to