nixos/tests/systemd-networkd-vrf: fix test
Broken while fixing some `.editorconfig`-definitions[1], however this
test explicitly relies on the output of `iproute2`.
[1] 8ae7f8c359
This commit is contained in:
parent
8ae7f8c359
commit
5bd1fb2884
@ -160,19 +160,19 @@ in {
|
|||||||
node3.wait_for_unit("network.target")
|
node3.wait_for_unit("network.target")
|
||||||
|
|
||||||
client_ipv4_table = """
|
client_ipv4_table = """
|
||||||
192.168.1.2 dev vrf1 proto static metric 100
|
192.168.1.2 dev vrf1 proto static metric 100
|
||||||
192.168.2.3 dev vrf2 proto static metric 100
|
192.168.2.3 dev vrf2 proto static metric 100
|
||||||
""".strip()
|
""".strip()
|
||||||
vrf1_table = """
|
vrf1_table = """
|
||||||
broadcast 192.168.1.0 dev eth1 proto kernel scope link src 192.168.1.1
|
broadcast 192.168.1.0 dev eth1 proto kernel scope link src 192.168.1.1
|
||||||
192.168.1.0/24 dev eth1 proto kernel scope link src 192.168.1.1
|
192.168.1.0/24 dev eth1 proto kernel scope link src 192.168.1.1
|
||||||
local 192.168.1.1 dev eth1 proto kernel scope host src 192.168.1.1
|
local 192.168.1.1 dev eth1 proto kernel scope host src 192.168.1.1
|
||||||
broadcast 192.168.1.255 dev eth1 proto kernel scope link src 192.168.1.1
|
broadcast 192.168.1.255 dev eth1 proto kernel scope link src 192.168.1.1
|
||||||
""".strip()
|
""".strip()
|
||||||
vrf2_table = """
|
vrf2_table = """
|
||||||
broadcast 192.168.2.0 dev eth2 proto kernel scope link src 192.168.2.1
|
broadcast 192.168.2.0 dev eth2 proto kernel scope link src 192.168.2.1
|
||||||
192.168.2.0/24 dev eth2 proto kernel scope link src 192.168.2.1
|
192.168.2.0/24 dev eth2 proto kernel scope link src 192.168.2.1
|
||||||
local 192.168.2.1 dev eth2 proto kernel scope host src 192.168.2.1
|
local 192.168.2.1 dev eth2 proto kernel scope host src 192.168.2.1
|
||||||
broadcast 192.168.2.255 dev eth2 proto kernel scope link src 192.168.2.1
|
broadcast 192.168.2.255 dev eth2 proto kernel scope link src 192.168.2.1
|
||||||
""".strip()
|
""".strip()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user