mirror of
https://github.com/Telecominfraproject/wlan-testing.git
synced 2025-11-03 12:27:53 +00:00
rate limiting
This commit is contained in:
@@ -228,7 +228,7 @@ class RunTest:
|
|||||||
|
|
||||||
def wifi_capacity(self, mode="BRIDGE", vlan_id=100, batch_size="1,5,10,20,40,64,128",
|
def wifi_capacity(self, mode="BRIDGE", vlan_id=100, batch_size="1,5,10,20,40,64,128",
|
||||||
instance_name="wct_instance", download_rate="1Gbps", influx_tags=[],
|
instance_name="wct_instance", download_rate="1Gbps", influx_tags=[],
|
||||||
upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", raw_lines=None):
|
upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", raw_lines=[]):
|
||||||
instance_name = ''.join(random.choices(string.ascii_uppercase + string.digits, k=S))
|
instance_name = ''.join(random.choices(string.ascii_uppercase + string.digits, k=S))
|
||||||
if mode == "BRIDGE":
|
if mode == "BRIDGE":
|
||||||
upstream_port = self.upstream_port
|
upstream_port = self.upstream_port
|
||||||
|
|||||||
Reference in New Issue
Block a user