mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-11-01 19:28:00 +00:00
Continuing work on regression test, adding requirements to update_dependencies.py
Signed-off-by: Matthew Stidham <stidmatt@protonmail.com>
This commit is contained in:
@@ -45,7 +45,7 @@ testCommands=(
|
|||||||
--radio \"radio==wiphy0 stations==4 ssid==$SSID_USED ssid_pw==$PASSWD_USED security==$SECURITY\"
|
--radio \"radio==wiphy0 stations==4 ssid==$SSID_USED ssid_pw==$PASSWD_USED security==$SECURITY\"
|
||||||
--radio \"radio==wiphy1 stations==4 ssid==$SSID_USED ssid_pw==$PASSWD_USED security==$SECURITY\""
|
--radio \"radio==wiphy1 stations==4 ssid==$SSID_USED ssid_pw==$PASSWD_USED security==$SECURITY\""
|
||||||
"./test_l3_powersave_traffic.py --radio $RADIO_USED --ssid $SSID_USED --passwd $PASSWD_USED --security $SECURITY --debug"
|
"./test_l3_powersave_traffic.py --radio $RADIO_USED --ssid $SSID_USED --passwd $PASSWD_USED --security $SECURITY --debug"
|
||||||
"./test_l3_scenario_throughput.py -t 15 -sc test_l3_scenario_throughput"
|
"./test_l3_scenario_throughput.py -t 15s -sc test_l3_scenario_throughput"
|
||||||
"./test_status_msg.py --debug " #this is all which is needed to run
|
"./test_status_msg.py --debug " #this is all which is needed to run
|
||||||
#"./test_wanlink.py --debug"
|
#"./test_wanlink.py --debug"
|
||||||
#"./ws_generic_monitor_test.py"
|
#"./ws_generic_monitor_test.py"
|
||||||
@@ -197,7 +197,7 @@ function html_generator() {
|
|||||||
echo "${results[@]}" >> $fname
|
echo "${results[@]}" >> $fname
|
||||||
echo "</table>" >> $fname
|
echo "</table>" >> $fname
|
||||||
echo "$tail" >> $fname
|
echo "$tail" >> $fname
|
||||||
rm "/home/lanforge/html_reports/latest.html" || true
|
unlink "/home/lanforge/html_reports/latest.html" || true
|
||||||
ln -s "${fname}" "/home/lanforge/html-reports/latest.html"
|
ln -s "${fname}" "/home/lanforge/html-reports/latest.html"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -322,7 +322,7 @@ def main():
|
|||||||
Scenario_2 = LoadScenario(manager, 8080, scenario)
|
Scenario_2 = LoadScenario(manager, 8080, scenario)
|
||||||
#Wait for Sometime
|
#Wait for Sometime
|
||||||
time.sleep(10)
|
time.sleep(10)
|
||||||
duration_sec=Realm.parse_time(args.duration).total_minutes()
|
duration_sec=Realm.parse_time(args.duration).total_seconds() * 60
|
||||||
|
|
||||||
# Port Utility function for reading CX and VAP
|
# Port Utility function for reading CX and VAP
|
||||||
PortUtility(manager,8080, duration_sec, report_name, scenario, test_detail)
|
PortUtility(manager,8080, duration_sec, report_name, scenario, test_detail)
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
import subprocess
|
import subprocess
|
||||||
def main():
|
def main():
|
||||||
command = "pip3 install pandas seaborn plotly numpy dash paramiko bokeh websocket-client pyarrow --upgrade"
|
command = "pip3 install pandas seaborn plotly numpy dash paramiko bokeh websocket-client pyarrow xlsxwriter --upgrade"
|
||||||
res = subprocess.call(command, shell = True)
|
res = subprocess.call(command, shell = True)
|
||||||
|
|
||||||
print("Returned Value: ", res)
|
print("Returned Value: ", res)
|
||||||
|
|||||||
Reference in New Issue
Block a user