CI: network - Add test for route hoplimit
This commit is contained in:
@@ -44,6 +44,10 @@ InitialAdvertisedReceiveWindow=30
|
||||
Destination=192.168.1.3
|
||||
TCPAdvertisedMaximumSegmentSize=30
|
||||
|
||||
[Route]
|
||||
Destination=192.168.1.4
|
||||
HopLimit=122
|
||||
|
||||
[Route]
|
||||
Type=blackhole
|
||||
Destination=202.54.1.2
|
||||
|
||||
@@ -2946,6 +2946,7 @@ class NetworkdNetworkTests(unittest.TestCase, Utilities):
|
||||
self.assertIn('192.168.1.1 proto static scope link initcwnd 20', output)
|
||||
self.assertIn('192.168.1.2 proto static scope link initrwnd 30', output)
|
||||
self.assertIn('192.168.1.3 proto static scope link advmss 30', output)
|
||||
self.assertIn('192.168.1.4 proto static scope link hoplimit 122', output)
|
||||
self.assertIn('multicast 149.10.123.4 proto static', output)
|
||||
|
||||
print('### ip -4 route show dev dummy98 default')
|
||||
|
||||
Reference in New Issue
Block a user