test-network: use Neighbor.LinkLayerAddress= instead of deprecated Neighbor.MACAddress=
authorYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 10 Jul 2019 17:25:21 +0000 (02:25 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 11 Jul 2019 13:22:29 +0000 (22:22 +0900)
test/test-network/conf/25-neighbor-section.network
test/test-network/systemd-networkd-tests.py

index 02dbd38..94c0494 100644 (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
index 6344b3d..f8bae1d 100755 (executable)
@@ -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')