mirror of
https://github.com/Dasharo/systemd.git
synced 2026-03-06 15:02:31 -08:00
test-network: add test for [IPv6SendRA] ReachableTimeSec= and RetransmitSec=
This commit is contained in:
@@ -10,6 +10,8 @@ IPv6SendRA=yes
|
||||
DNS=_link_local 2002:da8:1:0::1
|
||||
DNSLifetimeSec=1min
|
||||
Domains=hogehoge.test
|
||||
ReachableTimeSec=42
|
||||
RetransmitSec=500ms
|
||||
|
||||
[IPv6Prefix]
|
||||
Prefix=2002:da8:1:0::/64
|
||||
|
||||
@@ -5514,6 +5514,9 @@ class NetworkdRATests(unittest.TestCase, Utilities):
|
||||
print(output)
|
||||
self.assertRegex(output, '2002:da8:1:0')
|
||||
|
||||
self.check_ipv6_neigh_sysctl_attr('veth99', 'base_reachable_time_ms', '42000')
|
||||
self.check_ipv6_neigh_sysctl_attr('veth99', 'retrans_time_ms', '500')
|
||||
|
||||
self.check_netlabel('veth99', '2002:da8:1::/64')
|
||||
self.check_netlabel('veth99', '2002:da8:2::/64')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user