mirror of
https://github.com/systemd/systemd
synced 2024-07-21 10:17:21 +00:00
test-network: add test for [IPv6SendRA] ReachableTimeSec= and RetransmitSec=
This commit is contained in:
parent
5d8b72e1e0
commit
0fe4a1c870
|
@ -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')
|
||||
|
||||
|
|
Loading…
Reference in a new issue