mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-01-11 05:17:44 +03:00
test-network: add a test case for new FQ settings
This commit is contained in:
parent
e83562e51e
commit
4ef289250f
@ -8,3 +8,11 @@ Address=10.1.2.3/16
|
||||
[TrafficControlQueueingDiscipline]
|
||||
Parent=root
|
||||
FairQueueTrafficPolicingPacketLimit=1000
|
||||
FairQueueTrafficPolicingFlowLimit=200
|
||||
FairQueueTrafficPolicingQuantum=1500
|
||||
FairQueueTrafficPolicingInitialQuantum=13000
|
||||
FairQueueTrafficPolicingMaximumRate=1M
|
||||
FairQueueTrafficPolicingBuckets=512
|
||||
FairQueueTrafficPolicingOrphanMask=511
|
||||
FairQueueTrafficPolicingPacing=yes
|
||||
FairQueueTrafficPolicingCEThresholdSec=100ms
|
||||
|
@ -2143,7 +2143,7 @@ class NetworkdNetworkTests(unittest.TestCase, Utilities):
|
||||
output = check_output('tc qdisc show dev dummy98')
|
||||
print(output)
|
||||
self.assertRegex(output, 'qdisc fq')
|
||||
self.assertRegex(output, 'limit 1000p')
|
||||
self.assertRegex(output, 'limit 1000p flow_limit 200p buckets 512 orphan_mask 511 quantum 1500 initial_quantum 13000 maxrate 1Mbit')
|
||||
|
||||
class NetworkdStateFileTests(unittest.TestCase, Utilities):
|
||||
links = [
|
||||
|
Loading…
Reference in New Issue
Block a user