Update after tun_ipv4_src/tun_ipv4_dst changes.
Signed-off-by: YAMAMOTO Takashi <[email protected]>
---
.../ofproto/json/of13/4-59-ofp_packet_in.packet.json | 16 +++++++++++++++-
.../ofproto/json/of13/4-60-ofp_flow_mod.packet.json | 16 +++++++++++++++-
.../of13/4-63-onf_flow_monitor_request.packet.json | 18 ++++++++++++++++--
3 files changed, 46 insertions(+), 4 deletions(-)
diff --git a/ryu/tests/unit/ofproto/json/of13/4-59-ofp_packet_in.packet.json
b/ryu/tests/unit/ofproto/json/of13/4-59-ofp_packet_in.packet.json
index 1e84f7b..c5837d2 100644
--- a/ryu/tests/unit/ofproto/json/of13/4-59-ofp_packet_in.packet.json
+++ b/ryu/tests/unit/ofproto/json/of13/4-59-ofp_packet_in.packet.json
@@ -5,7 +5,7 @@
"data": "",
"match": {
"OFPMatch": {
- "length": 335,
+ "length": 351,
"oxm_fields": [
{
"OXMTlv": {
@@ -286,6 +286,20 @@
"mask": null,
"value": 1
}
+ },
+ {
+ "OXMTlv": {
+ "field": "tun_ipv4_src",
+ "mask": null,
+ "value": "1.2.3.4"
+ }
+ },
+ {
+ "OXMTlv": {
+ "field": "tun_ipv4_dst",
+ "mask": null,
+ "value": "1.2.3.4"
+ }
}
],
"type": 1
diff --git a/ryu/tests/unit/ofproto/json/of13/4-60-ofp_flow_mod.packet.json
b/ryu/tests/unit/ofproto/json/of13/4-60-ofp_flow_mod.packet.json
index 2ac6568..1c594e8 100644
--- a/ryu/tests/unit/ofproto/json/of13/4-60-ofp_flow_mod.packet.json
+++ b/ryu/tests/unit/ofproto/json/of13/4-60-ofp_flow_mod.packet.json
@@ -10,7 +10,7 @@
"instructions": [],
"match": {
"OFPMatch": {
- "length": 335,
+ "length": 351,
"oxm_fields": [
{
"OXMTlv": {
@@ -291,6 +291,20 @@
"mask": null,
"value": 1
}
+ },
+ {
+ "OXMTlv": {
+ "field": "tun_ipv4_src",
+ "mask": null,
+ "value": "1.2.3.4"
+ }
+ },
+ {
+ "OXMTlv": {
+ "field": "tun_ipv4_dst",
+ "mask": null,
+ "value": "1.2.3.4"
+ }
}
],
"type": 1
diff --git
a/ryu/tests/unit/ofproto/json/of13/4-63-onf_flow_monitor_request.packet.json
b/ryu/tests/unit/ofproto/json/of13/4-63-onf_flow_monitor_request.packet.json
index ab4ea27..c5e166d 100644
--- a/ryu/tests/unit/ofproto/json/of13/4-63-onf_flow_monitor_request.packet.json
+++ b/ryu/tests/unit/ofproto/json/of13/4-63-onf_flow_monitor_request.packet.json
@@ -23,7 +23,7 @@
"id": 999,
"match": {
"OFPMatch": {
- "length": 335,
+ "length": 351,
"oxm_fields": [
{
"OXMTlv": {
@@ -304,12 +304,26 @@
"mask": null,
"value": 1
}
+ },
+ {
+ "OXMTlv": {
+ "field": "tun_ipv4_src",
+ "mask": null,
+ "value": "1.2.3.4"
+ }
+ },
+ {
+ "OXMTlv": {
+ "field": "tun_ipv4_dst",
+ "mask": null,
+ "value": "1.2.3.4"
+ }
}
],
"type": 1
}
},
- "match_len": 331,
+ "match_len": 347,
"out_port": 4294967295,
"table_id": 255
}
--
1.9.4
------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel