test-network: Add test for bond peer_notif_delay

This commit is contained in:
Susant Sahani 2024-02-26 19:05:12 +05:30
parent 00386d5b3f
commit de736b9658
2 changed files with 2 additions and 0 deletions

View file

@ -7,3 +7,4 @@ Mode=active-backup
PrimaryReselectPolicy=always
MIIMonitorSec=1s
ARPMissedMax=10
PeerNotifyDelaySec=300s

View file

@ -1517,6 +1517,7 @@ class NetworkdNetDevTests(unittest.TestCase, Utilities):
print(output)
self.check_link_attr('bond97', 'bonding', 'arp_missed_max', '10')
self.check_link_attr('bond97', 'bonding', 'peer_notif_delay', '300000')
def test_vlan(self):
copy_network_unit('21-vlan.netdev', '11-dummy.netdev',