mirror of
https://github.com/systemd/systemd
synced 2024-07-21 10:17:21 +00:00
test-network: add test for macvlan BroadcastQueueMulticastLength= and BroadcastQueueThreashold=
This commit is contained in:
parent
0183d48ddb
commit
2b98febe9d
|
@ -3,3 +3,7 @@
|
|||
Name=macvlan99
|
||||
Kind=macvlan
|
||||
MTUBytes=2000
|
||||
|
||||
[MACVLAN]
|
||||
BroadcastMulticastQueueLength=1234
|
||||
BroadcastQueueThreshold=2147483647
|
||||
|
|
|
@ -1640,6 +1640,8 @@ class NetworkdNetDevTests(unittest.TestCase, Utilities):
|
|||
print(output)
|
||||
self.assertIn(' mtu 2000 ', output)
|
||||
self.assertIn(f' macvlan mode {mode} ', output)
|
||||
self.assertIn(' bcqueuelen 1234 ', output)
|
||||
self.assertIn(' bclim 2147483647 ', output)
|
||||
|
||||
@expectedFailureIfModuleIsNotAvailable('ipvlan')
|
||||
def test_ipvlan(self):
|
||||
|
|
Loading…
Reference in a new issue