test-network: use Neighbor.LinkLayerAddress= instead of deprecated Neighbor.MACAddress=

This commit is contained in:
Yu Watanabe 2019-07-11 02:25:21 +09:00
parent f5bab0d9c0
commit d86f5c194c
2 changed files with 3 additions and 3 deletions

View File

@ -6,8 +6,8 @@ IPv6AcceptRA=no
[Neighbor]
Address=192.168.10.1
MACAddress=00:00:5e:00:02:65
LinkLayerAddress=00:00:5e:00:02:65
[Neighbor]
Address=2004:da8:1:0::1
MACAddress=00:00:5e:00:02:66
LinkLayerAddress=00:00:5e:00:02:66

View File

@ -1620,7 +1620,7 @@ class NetworkdNetworkTests(unittest.TestCase, Utilities):
print(output)
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')
start_networkd()
wait_online(['dummy98:degraded'], timeout='40s')