mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-11-02 03:37:55 +00:00
Removed use of realm cleanup prior to test start
This commit is contained in:
@@ -107,9 +107,7 @@ def main():
|
|||||||
station_list = LFUtils.portNameSeries(prefix_="sta", start_id_=0, end_id_=1, padding_number_=10000)
|
station_list = LFUtils.portNameSeries(prefix_="sta", start_id_=0, end_id_=1, padding_number_=10000)
|
||||||
ip_test = IPv4Test(lfjson_host, lfjson_port, ssid="jedway-wpa2-x2048-4-4", password="jedway-wpa2-x2048-4-4",
|
ip_test = IPv4Test(lfjson_host, lfjson_port, ssid="jedway-wpa2-x2048-4-4", password="jedway-wpa2-x2048-4-4",
|
||||||
security="open", sta_list=station_list)
|
security="open", sta_list=station_list)
|
||||||
ip_test.local_realm.remove_all_stations(ip_test.resource)
|
ip_test.cleanup(station_list)
|
||||||
ip_test.local_realm.remove_all_cxs()
|
|
||||||
ip_test.local_realm.remove_all_endps()
|
|
||||||
ip_test.timeout = 60
|
ip_test.timeout = 60
|
||||||
ip_test.build()
|
ip_test.build()
|
||||||
if not ip_test.passes():
|
if not ip_test.passes():
|
||||||
|
|||||||
@@ -150,9 +150,7 @@ def main():
|
|||||||
ip_test = IPV4L4(lfjson_host, lfjson_port, ssid="jedway-wpa2-x2048-4-4", password="jedway-wpa2-x2048-4-4",
|
ip_test = IPV4L4(lfjson_host, lfjson_port, ssid="jedway-wpa2-x2048-4-4", password="jedway-wpa2-x2048-4-4",
|
||||||
security="open", station_list=station_list, url="dl http://10.40.0.1 /dev/null", test_duration="5m",
|
security="open", station_list=station_list, url="dl http://10.40.0.1 /dev/null", test_duration="5m",
|
||||||
requests_per_ten=600)
|
requests_per_ten=600)
|
||||||
ip_test.local_realm.remove_all_stations(ip_test.resource)
|
ip_test.cleanup(station_list)
|
||||||
ip_test.local_realm.remove_all_cxs()
|
|
||||||
ip_test.local_realm.remove_all_endps()
|
|
||||||
ip_test.build()
|
ip_test.build()
|
||||||
if not ip_test.passes():
|
if not ip_test.passes():
|
||||||
print(ip_test.get_fail_message())
|
print(ip_test.get_fail_message())
|
||||||
|
|||||||
@@ -143,9 +143,7 @@ def main():
|
|||||||
security="open", station_list=station_list, url="dl http://10.40.0.1 /dev/null", num_tests=1,
|
security="open", station_list=station_list, url="dl http://10.40.0.1 /dev/null", num_tests=1,
|
||||||
target_requests_per_ten=600,
|
target_requests_per_ten=600,
|
||||||
requests_per_ten=600)
|
requests_per_ten=600)
|
||||||
ip_test.local_realm.remove_all_stations(ip_test.resource)
|
ip_test.cleanup(station_list)
|
||||||
ip_test.local_realm.remove_all_cxs()
|
|
||||||
ip_test.local_realm.remove_all_endps()
|
|
||||||
ip_test.build()
|
ip_test.build()
|
||||||
ip_test.start()
|
ip_test.start()
|
||||||
ip_test.stop()
|
ip_test.stop()
|
||||||
|
|||||||
@@ -157,9 +157,7 @@ def main():
|
|||||||
security="open", test_duration="5m",
|
security="open", test_duration="5m",
|
||||||
side_a_min_rate=256, side_b_min_rate=256)
|
side_a_min_rate=256, side_b_min_rate=256)
|
||||||
|
|
||||||
ip_var_test.local_realm.remove_all_stations(ip_var_test.resource)
|
ip_var_test.cleanup(station_list)
|
||||||
ip_var_test.local_realm.remove_all_cxs()
|
|
||||||
ip_var_test.local_realm.remove_all_endps()
|
|
||||||
ip_var_test.build()
|
ip_var_test.build()
|
||||||
if not ip_var_test.passes():
|
if not ip_var_test.passes():
|
||||||
print(ip_var_test.get_fail_message())
|
print(ip_var_test.get_fail_message())
|
||||||
|
|||||||
@@ -111,9 +111,7 @@ def main():
|
|||||||
station_list = LFUtils.portNameSeries(prefix_="sta", start_id_=0, end_id_=1, padding_number_=10000)
|
station_list = LFUtils.portNameSeries(prefix_="sta", start_id_=0, end_id_=1, padding_number_=10000)
|
||||||
ipv6_test = IPv6Test(lfjson_host, lfjson_port, ssid="jedway-wpa2-x2048-4-4", password="jedway-wpa2-x2048-4-4",
|
ipv6_test = IPv6Test(lfjson_host, lfjson_port, ssid="jedway-wpa2-x2048-4-4", password="jedway-wpa2-x2048-4-4",
|
||||||
security="open", sta_list=station_list)
|
security="open", sta_list=station_list)
|
||||||
ipv6_test.local_realm.remove_all_stations(ipv6_test.resource)
|
ipv6_test.cleanup(station_list)
|
||||||
ipv6_test.local_realm.remove_all_cxs()
|
|
||||||
ipv6_test.local_realm.remove_all_endps()
|
|
||||||
ipv6_test.timeout = 60
|
ipv6_test.timeout = 60
|
||||||
ipv6_test.build()
|
ipv6_test.build()
|
||||||
if not ipv6_test.passes():
|
if not ipv6_test.passes():
|
||||||
|
|||||||
@@ -157,9 +157,7 @@ def main():
|
|||||||
password="jedway-wpa2-x2048-4-4",
|
password="jedway-wpa2-x2048-4-4",
|
||||||
resource=1, security="open", test_duration="5m",
|
resource=1, security="open", test_duration="5m",
|
||||||
side_a_min_rate=256, side_b_min_rate=256)
|
side_a_min_rate=256, side_b_min_rate=256)
|
||||||
ip_var_test.local_realm.remove_all_stations(ip_var_test.resource)
|
ip_var_test.cleanup(station_list)
|
||||||
ip_var_test.local_realm.remove_all_cxs()
|
|
||||||
ip_var_test.local_realm.remove_all_endps()
|
|
||||||
ip_var_test.build()
|
ip_var_test.build()
|
||||||
if not ip_var_test.passes():
|
if not ip_var_test.passes():
|
||||||
print(ip_var_test.get_fail_message())
|
print(ip_var_test.get_fail_message())
|
||||||
|
|||||||
0
py-scripts/test_l3_powersave_traffic.py
Normal file → Executable file
0
py-scripts/test_l3_powersave_traffic.py
Normal file → Executable file
Reference in New Issue
Block a user