mirror of
https://github.com/systemd/systemd.git
synced 2024-12-23 21:35:11 +03:00
test-network: use Neighbor.LinkLayerAddress= instead of deprecated Neighbor.MACAddress=
This commit is contained in:
parent
f5bab0d9c0
commit
d86f5c194c
@ -6,8 +6,8 @@ IPv6AcceptRA=no
|
|||||||
|
|
||||||
[Neighbor]
|
[Neighbor]
|
||||||
Address=192.168.10.1
|
Address=192.168.10.1
|
||||||
MACAddress=00:00:5e:00:02:65
|
LinkLayerAddress=00:00:5e:00:02:65
|
||||||
|
|
||||||
[Neighbor]
|
[Neighbor]
|
||||||
Address=2004:da8:1:0::1
|
Address=2004:da8:1:0::1
|
||||||
MACAddress=00:00:5e:00:02:66
|
LinkLayerAddress=00:00:5e:00:02:66
|
||||||
|
@ -1620,7 +1620,7 @@ class NetworkdNetworkTests(unittest.TestCase, Utilities):
|
|||||||
print(output)
|
print(output)
|
||||||
self.assertRegex(output, '2004:da8:1::/64')
|
self.assertRegex(output, '2004:da8:1::/64')
|
||||||
|
|
||||||
def test_ipv6_neighbor(self):
|
def test_neighbor_section(self):
|
||||||
copy_unit_to_networkd_unit_path('25-neighbor-section.network', '12-dummy.netdev')
|
copy_unit_to_networkd_unit_path('25-neighbor-section.network', '12-dummy.netdev')
|
||||||
start_networkd()
|
start_networkd()
|
||||||
wait_online(['dummy98:degraded'], timeout='40s')
|
wait_online(['dummy98:degraded'], timeout='40s')
|
||||||
|
Loading…
Reference in New Issue
Block a user