Merge pull request #21122 from yuwata/network-optimize-reload

network: slightly optimize "networkctl reload"
This commit is contained in:
Yu Watanabe
2021-10-26 15:55:01 +09:00
committed by GitHub
12 changed files with 141 additions and 23 deletions
+2 -2
View File
@@ -2029,8 +2029,8 @@ class NetworkdNetworkTests(unittest.TestCase, Utilities):
print(output)
self.assertNotIn('deprecated', output)
# 2. restart networkd to reconfigure the interface.
restart_networkd()
# 2. reconfigure the interface.
check_output(*networkctl_cmd, 'reconfigure', 'dummy98', env=env)
self.wait_online(['dummy98:routable'])
# 3. check the deprecated flag is set for the address configured with PreferredLifetime=0