Commit d1b6c85c authored by Vladimír Beneš's avatar Vladimír Beneš
Browse files

var: need to go with mask 21 not 24

parent fbb9b8d2
......@@ -339,15 +339,15 @@ Feature: nmcli: ipv4
When "connected" is visible with command "nmcli -g state,device device |grep eth3$" in "20" seconds
# This is cripppled in kernel VVV 1535977
# Then "default" is visible with command "ip r show table 300"
And "192.168.10[0-3].0\/24 dev eth3 proto kernel scope link src 192.168.10[0-3].* metric 1" is visible with command "ip r show table 300"
And "192.168.10[0-3].0\/2[2-4] dev eth3 proto kernel scope link src 192.168.10[0-3].* metric 1" is visible with command "ip r show table 300"
And "eth3" is not visible with command "ip r"
* Execute "ip route add table 300 10.20.30.0/24 via $(nmcli -g IP4.ADDRESS con show con_ipv4 |awk -F '/' '{print $1}') dev eth3"
When "10.20.30.0\/24 via 192.168.10[0-3].* dev eth3" is visible with command "ip r show table 300"
And "192.168.10[0-3].0\/24 dev eth3 proto kernel scope link src 192.168.10[0-3].* metric 1" is visible with command "ip r show table 300"
And "192.168.10[0-3].0\/2[2-4] dev eth3 proto kernel scope link src 192.168.10[0-3].* metric 1" is visible with command "ip r show table 300"
* Bring "up" connection "con_ipv4"
When "connected" is visible with command "nmcli -g state,device device |grep eth3$" in "20" seconds
Then "10.20.30.0\/24 via 192.168.10[0-3].* dev eth3" is not visible with command "ip r show table 300"
And "192.168.10[0-3].0\/24 dev eth3 proto kernel scope link src 192.168.10[0-3].* metric 1" is visible with command "ip r show table 300"
And "192.168.10[0-3].0\/2[2-4] dev eth3 proto kernel scope link src 192.168.10[0-3].* metric 1" is visible with command "ip r show table 300"
And "eth3" is not visible with command "ip r"
......@@ -360,14 +360,14 @@ Feature: nmcli: ipv4
When "connected" is visible with command "nmcli -g state,device device |grep eth3$" in "20" seconds
# This is cripppled in kernel VVV 1535977
# Then "default" is visible with command "ip r show table 300"
And "192.168.10[0-3].0\/24 dev eth3 proto kernel scope link src 192.168.10[0-3].* metric 1" is visible with command "ip r show"
And "192.168.10[0-3].0\/2[2-4] dev eth3 proto kernel scope link src 192.168.10[0-3].* metric 1" is visible with command "ip r show"
* Execute "ip route add table 300 10.20.30.0/24 via $(nmcli -g IP4.ADDRESS con show con_ipv4 |awk -F '/' '{print $1}') dev eth3"
When "10.20.30.0\/24 via 192.168.10[0-3].* dev eth3" is visible with command "ip r show table 300"
And "192.168.10[0-3].0\/24 dev eth3 proto kernel scope link src 192.168.10[0-3].* metric 1" is visible with command "ip r show"
And "192.168.10[0-3].0\/2[2-4] dev eth3 proto kernel scope link src 192.168.10[0-3].* metric 1" is visible with command "ip r show"
* Execute "nmcli device reapply eth3"
When "connected" is visible with command "nmcli -g state,device device |grep eth3$" in "20" seconds
Then "10.20.30.0\/24 via 192.168.10[0-3].* dev eth3" is visible with command "ip r show table 300"
And "192.168.10[0-3].0\/24 dev eth3 proto kernel scope link src 192.168.10[0-3].* metric 1" is visible with command "ip r show"
And "192.168.10[0-3].0\/2[2-4] dev eth3 proto kernel scope link src 192.168.10[0-3].* metric 1" is visible with command "ip r show"
@rhbz1907661
......
......@@ -96,7 +96,7 @@ Feature: nmcli - ovs
And "Port [\"]?port1[\"]?\s+Interface [\"]?eth2[\"]?\s+type: system" is visible with command "ovs-vsctl show"
And "Port [\"]?port0[\"]?\s+Interface [\"]?iface0[\"]?\s+type: internal" is visible with command "ovs-vsctl show"
And "master ovs-system" is visible with command "ip a s eth2"
And "192.168.10[0-3].*\/24" is visible with command "ip a s iface0"
And "192.168.10[0-3].*\/2[2-4]" is visible with command "ip a s iface0"
And "fe80::" is visible with command "ip a s iface0"
And "default via 192.168.100.1 dev iface0 proto dhcp metric 800" is visible with command "ip r"
......@@ -116,7 +116,7 @@ Feature: nmcli - ovs
And "Port [\"]?port1[\"]?\s+Interface [\"]?eth2[\"]?\s+type: system" is visible with command "ovs-vsctl show"
And "Port [\"]?port0[\"]?\s+Interface [\"]?iface0[\"]?\s+type: internal" is visible with command "ovs-vsctl show"
And "master ovs-system" is visible with command "ip a s eth2"
And "192.168.10[0-3].*\/24" is visible with command "ip a s iface0"
And "192.168.10[0-3].*\/2[2-4]" is visible with command "ip a s iface0"
And "fe80::" is visible with command "ip a s iface0"
And "default via 192.168.100.1 dev iface0 proto dhcp metric 800" is visible with command "ip r"
......@@ -138,7 +138,7 @@ Feature: nmcli - ovs
And "Port [\"]?port0[\"]?\s+Interface [\"]?iface0[\"]?\s+type: internal" is visible with command "ovs-vsctl show"
And "master ovs-system" is visible with command "ip a s eth2"
And "master ovs-system" is visible with command "ip a s eth3"
And "192.168.10[0-3].*\/24" is visible with command "ip a s iface0"
And "192.168.10[0-3].*\/2[2-4]" is visible with command "ip a s iface0"
And "fe80::" is visible with command "ip a s iface0"
And "default via 192.168.100.1 dev iface0 proto dhcp metric 800" is visible with command "ip r"
......@@ -160,7 +160,7 @@ Feature: nmcli - ovs
And "Port [\"]?port0[\"]?\s+tag: 120\s+Interface [\"]?iface0[\"]?\s+type: internal" is visible with command "ovs-vsctl show"
And "master ovs-system" is visible with command "ip a s eth2"
And "master ovs-system" is visible with command "ip a s eth3"
And "192.168.10[0-3].*\/24" is visible with command "ip a s iface0"
And "192.168.10[0-3].*\/2[2-4]" is visible with command "ip a s iface0"
And "fe80::" is visible with command "ip a s iface0"
And "default via 192.168.100.1 dev iface0 proto dhcp metric 800" is visible with command "ip r"
......@@ -183,7 +183,7 @@ Feature: nmcli - ovs
And "Port [\"]?port0[\"]?\s+tag: 120\s+Interface [\"]?iface0[\"]?\s+type: internal" is visible with command "ovs-vsctl show"
And "master ovs-system" is not visible with command "ip a s eth2"
And "master ovs-system" is visible with command "ip a s eth3"
And "192.168.10[0-3].*\/24" is visible with command "ip a s iface0"
And "192.168.10[0-3].*\/2[2-4]" is visible with command "ip a s iface0"
And "fe80::" is visible with command "ip a s iface0"
And "default via 192.168.100.1 dev iface0 proto dhcp metric 800" is visible with command "ip r"
......@@ -208,7 +208,7 @@ Feature: nmcli - ovs
Then "Bridge [\"]?ovsbridge0[\"]?" is not visible with command "ovs-vsctl show"
And "master ovs-system" is not visible with command "ip a s eth2"
And "master ovs-system" is not visible with command "ip a s eth3"
And "192.168.10[0-3].*\/24" is not visible with command "ip a s iface0"
And "192.168.10[0-3].*\/2[2-4]" is not visible with command "ip a s iface0"
And "fe80::" is not visible with command "ip a s iface0"
And "default via 192.168.100.1 dev iface0 proto dhcp metric 800" is not visible with command "ip r"
And "ovs" is not visible with command "nmcli device"
......@@ -232,7 +232,7 @@ Feature: nmcli - ovs
# And "Port [\"]?port0[\"]?\s+tag: 120\s+Interface [\"]?iface0[\"]?\s+type: internal" is not visible with command "ovs-vsctl show"
# And "master ovs-system" is not visible with command "ip a s eth2"
# And "master ovs-system" is not visible with command "ip a s eth3"
# And "192.168.10[0-3].*\/24" is not visible with command "ip a s iface0"
# And "192.168.10[0-3].*\/2[2-4]" is not visible with command "ip a s iface0"
# And "fe80::" is not visible with command "ip a s iface0"
# And "default via 192.168.100.1 dev iface0 proto dhcp metric 800" is not visible with command "ip r"
# #And "ovs" is not visible with command "nmcli device"
......@@ -256,7 +256,7 @@ Feature: nmcli - ovs
# And "Port [\"]?port0[\"]?\s+tag: 120\s+Interface [\"]?iface0[\"]?\s+type: internal" is not visible with command "ovs-vsctl show"
# And "master ovs-system" is not visible with command "ip a s eth2"
# And "master ovs-system" is not visible with command "ip a s eth3"
# And "192.168.10[0-3].*\/24" is not visible with command "ip a s iface0"
# And "192.168.10[0-3].*\/2[2-4]" is not visible with command "ip a s iface0"
# And "fe80::" is not visible with command "ip a s iface0"
# And "default via 192.168.100.1 dev iface0 proto dhcp metric 800" is not visible with command "ip r"
# And "ovs" is not visible with command "nmcli device"
......@@ -282,7 +282,7 @@ Feature: nmcli - ovs
# And "Port [\"]?port0[\"]?\s+tag: 120\s+Interface [\"]?iface0[\"]?\s+type: internal" is visible with command "ovs-vsctl show"
# And "master ovs-system" is visible with command "ip a s eth2"
# And "master ovs-system" is visible with command "ip a s eth3"
# And "192.168.10[0-3].*\/24" is visible with command "ip a s iface0"
# And "192.168.10[0-3].*\/2[2-4]" is visible with command "ip a s iface0"
# And "fe80::" is visible with command "ip a s iface0"
# And "default via 192.168.100.1 dev iface0 proto dhcp metric 800" is visible with command "ip r"
# VVV Reconnect port connection
......@@ -293,7 +293,7 @@ Feature: nmcli - ovs
# And "Port [\"]?port0[\"]?\s+tag: 120\s+Interface [\"]?iface0[\"]?\s+type: internal" is visible with command "ovs-vsctl show"
# And "master ovs-system" is visible with command "ip a s eth2"
# And "master ovs-system" is visible with command "ip a s eth3"
# And "192.168.10[0-3].*\/24" is visible with command "ip a s iface0"
# And "192.168.10[0-3].*\/2[2-4]" is visible with command "ip a s iface0"
# And "fe80::" is visible with command "ip a s iface0"
# And "default via 192.168.100.1 dev iface0 proto dhcp metric 800" is visible with command "ip r"
# VVV Reconnect bond master connection
......@@ -304,7 +304,7 @@ Feature: nmcli - ovs
And "Port [\"]?port0[\"]?\s+tag: 120\s+Interface [\"]?iface0[\"]?\s+type: internal" is visible with command "ovs-vsctl show"
And "master ovs-system" is visible with command "ip a s eth2"
And "master ovs-system" is visible with command "ip a s eth3"
And "192.168.10[0-3].*\/24" is visible with command "ip a s iface0"
And "192.168.10[0-3].*\/2[2-4]" is visible with command "ip a s iface0"
And "fe80::" is visible with command "ip a s iface0"
And "default via 192.168.100.1 dev iface0 proto dhcp metric 800" is visible with command "ip r"
# VVV Reconnect bond slave connection
......@@ -315,7 +315,7 @@ Feature: nmcli - ovs
And "Port [\"]?port0[\"]?\s+tag: 120\s+Interface [\"]?iface0[\"]?\s+type: internal" is visible with command "ovs-vsctl show"
And "master ovs-system" is visible with command "ip a s eth2"
And "master ovs-system" is visible with command "ip a s eth3"
And "192.168.10[0-3].*\/24" is visible with command "ip a s iface0"
And "192.168.10[0-3].*\/2[2-4]" is visible with command "ip a s iface0"
And "fe80::" is visible with command "ip a s iface0"
And "default via 192.168.100.1 dev iface0 proto dhcp metric 800" is visible with command "ip r"
# VVV Reconnect iface connection
......@@ -327,7 +327,7 @@ Feature: nmcli - ovs
And "Port [\"]?port0[\"]?\s+tag: 120\s+Interface [\"]?iface0[\"]?\s+type: internal" is visible with command "ovs-vsctl show"
And "master ovs-system" is visible with command "ip a s eth2"
And "master ovs-system" is visible with command "ip a s eth3"
And "192.168.10[0-3].*\/24" is visible with command "ip a s iface0"
And "192.168.10[0-3].*\/2[2-4]" is visible with command "ip a s iface0"
And "fe80::" is visible with command "ip a s iface0"
And "default via 192.168.100.1 dev iface0 proto dhcp metric 800" is visible with command "ip r"
......@@ -352,7 +352,7 @@ Feature: nmcli - ovs
And "Port [\"]?port0[\"]?\s+tag: 120\s+Interface [\"]?iface0[\"]?\s+type: internal" is visible with command "ovs-vsctl show"
And "master ovs-system" is visible with command "ip a s eth2"
And "master ovs-system" is visible with command "ip a s eth3"
And "192.168.10[0-3].*\/24" is visible with command "ip a s iface0" in "45" seconds
And "192.168.10[0-3].*\/2[2-4]" is visible with command "ip a s iface0" in "45" seconds
And "fe80::" is visible with command "ip a s iface0"
And "default via 192.168.100.1 dev iface0 proto dhcp metric 800" is visible with command "ip r"
# VVV Reconnect port connection
......@@ -363,7 +363,7 @@ Feature: nmcli - ovs
And "Port [\"]?port0[\"]?\s+tag: 120\s+Interface [\"]?iface0[\"]?\s+type: internal" is visible with command "ovs-vsctl show"
And "master ovs-system" is visible with command "ip a s eth2"
And "master ovs-system" is visible with command "ip a s eth3"
And "192.168.10[0-3].*\/24" is visible with command "ip a s iface0" in "45" seconds
And "192.168.10[0-3].*\/2[2-4]" is visible with command "ip a s iface0" in "45" seconds
And "fe80::" is visible with command "ip a s iface0"
And "default via 192.168.100.1 dev iface0 proto dhcp metric 800" is visible with command "ip r"
# VVV Reconnect bond master connection
......@@ -374,7 +374,7 @@ Feature: nmcli - ovs
And "Port [\"]?port0[\"]?\s+tag: 120\s+Interface [\"]?iface0[\"]?\s+type: internal" is visible with command "ovs-vsctl show"
And "master ovs-system" is visible with command "ip a s eth2"
And "master ovs-system" is visible with command "ip a s eth3"
And "192.168.10[0-3].*\/24" is visible with command "ip a s iface0" in "45" seconds
And "192.168.10[0-3].*\/2[2-4]" is visible with command "ip a s iface0" in "45" seconds
And "fe80::" is visible with command "ip a s iface0"
And "default via 192.168.100.1 dev iface0 proto dhcp metric 800" is visible with command "ip r"
# VVV Reconnect bond slave connection
......@@ -385,7 +385,7 @@ Feature: nmcli - ovs
And "Port [\"]?port0[\"]?\s+tag: 120\s+Interface [\"]?iface0[\"]?\s+type: internal" is visible with command "ovs-vsctl show"
And "master ovs-system" is visible with command "ip a s eth2"
And "master ovs-system" is visible with command "ip a s eth3"
And "192.168.10[0-3].*\/24" is visible with command "ip a s iface0" in "45" seconds
And "192.168.10[0-3].*\/2[2-4]" is visible with command "ip a s iface0" in "45" seconds
And "fe80::" is visible with command "ip a s iface0"
And "default via 192.168.100.1 dev iface0 proto dhcp metric 800" is visible with command "ip r"
# VVV Reconnect iface connection
......@@ -397,7 +397,7 @@ Feature: nmcli - ovs
And "Port [\"]?port0[\"]?\s+tag: 120\s+Interface [\"]?iface0[\"]?\s+type: internal" is visible with command "ovs-vsctl show"
And "master ovs-system" is visible with command "ip a s eth2"
And "master ovs-system" is visible with command "ip a s eth3"
And "192.168.10[0-3].*\/24" is visible with command "ip a s iface0" in "45" seconds
And "192.168.10[0-3].*\/2[2-4]" is visible with command "ip a s iface0" in "45" seconds
And "fe80::" is visible with command "ip a s iface0"
And "default via 192.168.100.1 dev iface0 proto dhcp metric 800" is visible with command "ip r"
......@@ -423,7 +423,7 @@ Feature: nmcli - ovs
And "Port [\"]?port0[\"]?\s+tag: 120\s+Interface [\"]?iface0[\"]?\s+type: internal" is visible with command "ovs-vsctl show"
And "master ovs-system" is visible with command "ip a s eth2"
And "master ovs-system" is visible with command "ip a s eth3"
And "192.168.10[0-3].*\/24" is visible with command "ip a s iface0"
And "192.168.10[0-3].*\/2[2-4]" is visible with command "ip a s iface0"
And "fe80::" is visible with command "ip a s iface0"
......@@ -449,7 +449,7 @@ Feature: nmcli - ovs
And "Port [\"]?port0[\"]?\s+tag: 120\s+Interface [\"]?iface0[\"]?\s+type: internal" is visible with command "ovs-vsctl show"
And "master ovs-system" is visible with command "ip a s eth2"
And "master ovs-system" is visible with command "ip a s eth3"
And "192.168.10[0-3].*\/24" is visible with command "ip a s iface0"
And "192.168.10[0-3].*\/2[2-4]" is visible with command "ip a s iface0"
And "fe80::" is visible with command "ip a s iface0"
And "default via 192.168.100.1 dev iface0 proto dhcp metric 800" is visible with command "ip r"
* Restart NM
......@@ -459,7 +459,7 @@ Feature: nmcli - ovs
And "Port [\"]?port0[\"]?\s+tag: 120\s+Interface [\"]?iface0[\"]?\s+type: internal" is visible with command "ovs-vsctl show"
And "master ovs-system" is visible with command "ip a s eth2"
And "master ovs-system" is visible with command "ip a s eth3"
And "192.168.10[0-3].*\/24" is visible with command "ip a s iface0"
And "192.168.10[0-3].*\/2[2-4]" is visible with command "ip a s iface0"
And "fe80::" is visible with command "ip a s iface0"
And "default via 192.168.100.1 dev iface0 proto dhcp metric 800" is visible with command "ip r"
* Restart NM
......@@ -469,7 +469,7 @@ Feature: nmcli - ovs
And "Port [\"]?port0[\"]?\s+tag: 120\s+Interface [\"]?iface0[\"]?\s+type: internal" is visible with command "ovs-vsctl show"
And "master ovs-system" is visible with command "ip a s eth2"
And "master ovs-system" is visible with command "ip a s eth3"
And "192.168.10[0-3].*\/24" is visible with command "ip a s iface0"
And "192.168.10[0-3].*\/2[2-4]" is visible with command "ip a s iface0"
And "fe80::" is visible with command "ip a s iface0"
And "default via 192.168.100.1 dev iface0 proto dhcp metric 800" is visible with command "ip r"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment