]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
test-network: add test for macvlan BroadcastQueueMulticastLength= and BroadcastQueueT... 31409/head
authorSusant Sahani <ssahani@vmware.com>
Thu, 22 Feb 2024 00:45:41 +0000 (09:45 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 22 Feb 2024 00:46:55 +0000 (09:46 +0900)
test/test-network/conf/21-macvlan.netdev
test/test-network/systemd-networkd-tests.py

index fdc81ea6d6c6de176e4c51f8f9a45f53c58bf08b..d742f6462685b2a7a4f8dd2039bf463dc8563b4d 100644 (file)
@@ -3,3 +3,7 @@
 Name=macvlan99
 Kind=macvlan
 MTUBytes=2000
+
+[MACVLAN]
+BroadcastMulticastQueueLength=1234
+BroadcastQueueThreshold=2147483647
index 03e5690b282437969f1c17ca37592dda5b4d2f9e..b1951ade204c4f55d3ecd926d0cf7e5cce037cfd 100755 (executable)
@@ -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):