mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-11-01 19:28:00 +00:00
288 lines
17 KiB
JSON
Executable File
288 lines
17 KiB
JSON
Executable File
{
|
|
"ct_tests_001_scripts":{
|
|
"Notes":[
|
|
"The json is used to orchastrate the tests to be run on testbed ct_us_001",
|
|
"This json file is used as an input to the ./lf_check.py file",
|
|
"The variables that are all capitalized below are replaced with configuration",
|
|
"from the json file. so LF_MGR_IP in the test below is replaced by the json lf_mgr_ip",
|
|
"The replacement is loosely coupled so the upper and lower case convention is used",
|
|
"to identify replaced strings in the lf_check.py code."
|
|
]
|
|
},
|
|
"test_suites":{
|
|
"suite_short":{
|
|
"clean_up_cxs_endp_sta":{
|
|
"enabled":"TRUE",
|
|
"command":"lf_cleanup.py",
|
|
"args":"",
|
|
"args_list":[
|
|
" --mgr LF_MGR_IP --cxs --sta"
|
|
]},
|
|
"test_ip_variable_time0-ipv4":{
|
|
"enabled":"TRUE",
|
|
"command":"test_ip_variable_time.py",
|
|
"args":"",
|
|
"args_list":[
|
|
" --mgr LF_MGR_IP --radio wiphy1 --ssid SSID_USED --passwd SSID_PW_USED",
|
|
" --security SECURITY_USED --test_duration 60s --output_format excel ",
|
|
" --traffic_type lf_tcp --a_min 600000000 --b_min 600000000 --upstream_port eth2",
|
|
" --mode '5' --layer3_cols 'name','tx rate','rx rate' ",
|
|
" --port_mgr_cols 'alias','channel','activity','mode'"]
|
|
},
|
|
"test_ip_variable_time1-ipv4":{
|
|
"enabled":"TRUE",
|
|
"command":"test_ip_variable_time.py",
|
|
"args":"",
|
|
"args_list":[
|
|
" --mgr LF_MGR_IP --radio wiphy1 --ssid SSID_USED --passwd SSID_PW_USED",
|
|
" --security SECURITY_USED --test_duration 60s --output_format excel ",
|
|
" --traffic_type lf_tcp --a_min 600000000 --b_min 600000000 --upstream_port eth2",
|
|
" --mode '5' --layer3_cols 'name','tx rate','rx rate' ",
|
|
" --port_mgr_cols 'alias','channel','activity','mode'"
|
|
]}
|
|
},
|
|
"suite_l3":{
|
|
"test_l3_longevity":{
|
|
"enabled":"TRUE",
|
|
"load_db":"skip",
|
|
"command":"test_l3_longevity.py",
|
|
"args":"",
|
|
"args_list":[
|
|
" --lfmgr LF_MGR_IP --local_lf_report_dir REPORT_PATH --test_duration 15s --polling_interval 5s --upstream_port UPSTREAM_PORT ",
|
|
" use_ssid_idx=1 --radio 'radio==wiphy1,stations==4,ssid==SSID_USED,ssid_pw==SSID_PW_USED,security==SECURITY_USED' ",
|
|
" --endp_type lf_udp --rates_are_totals --side_a_min_bps=20000 --side_b_min_bps=300000000",
|
|
" --test_rig TEST_RIG --test_tag 'l3_longevity'"
|
|
]
|
|
}
|
|
},
|
|
"suite_l3r":{
|
|
"test_l3_longevity":{
|
|
"enabled":"TRUE",
|
|
"load_db":"NONE",
|
|
"command":"test_l3_longevity.py",
|
|
"args":"",
|
|
"args_list":[" --mgr LF_MGR_IP --test_duration 15s --polling_interval 5s --upstream_port UPSTREAM_PORT ",
|
|
" use_ssid_idx=1 --radio 'radio==wiphy1,stations==4,ssid==SSID_USEDD,ssid_pw==SSID_PW_USED,security==SECURITY_USED' ",
|
|
" --endp_type lf_udp --rates_are_totals --side_a_min_bps=20000 --side_b_min_bps=300000000 --local_lf_report_dir REPORT_PATH"]}
|
|
},
|
|
"suite_daily":{
|
|
"test_l3_longevity":{
|
|
"enabled":"TRUE",
|
|
"load_db":"NONE",
|
|
"command":"test_l3_longevity.py",
|
|
"args":"",
|
|
"args_list":[" --mgr LF_MGR_IP --test_duration 15s --polling_interval 5s --upstream_port eth2",
|
|
" use_ssid_idx=1 --radio 'radio==wiphy1,stations==4,ssid==SSID_USED,ssid_pw==SSID_PW_USED,security==SECURITY_USED' ",
|
|
" --endp_type lf_udp --rates_are_totals --side_a_min_bps=20000 --side_b_min_bps=300000000"]},
|
|
"example_security_connection0":{
|
|
"enabled":"TRUE",
|
|
"command":"example_security_connection.py",
|
|
"args":"",
|
|
"args_list":["--mgr LF_MGR_IP --num_stations 4",
|
|
" use_ssid_idx=1 --ssid SSID_USED --passwd SSID_PW_USED --radio wiphy1 --security SECURITY_USED --debug"]},
|
|
"example_security_connection1":{
|
|
"enabled":"TRUE",
|
|
"command":"example_security_connection.py",
|
|
"args":"",
|
|
"args_list":[" use_ssid_idx=1 --mgr LF_MGR_IP --num_stations 4 --ssid SSID_USED --passwd SSID_PW_USED",
|
|
" --radio wiphy1 --security SECURITY_USED --debug"]},
|
|
"example_security_connection2":{
|
|
"enabled":"TRUE",
|
|
"command":"example_security_connection.py",
|
|
"args":"",
|
|
"args_list":["use_ssid_idx=1 --mgr LF_MGR_IP --num_stations 4 --ssid SSID_USED --passwd SSID_PW_USED --radio wiphy1 --security SECURITY_USED --debug"]},
|
|
"example_security_connection3":{
|
|
"enabled":"TRUE",
|
|
"command":"example_security_connection.py",
|
|
"args":"",
|
|
"args_list":[" use_ssid_idx=1 --mgr LF_MGR_IP --num_stations 4 --ssid SSID_USED --passwd SSID_PW_USED --radio wiphy1 --security SECURITY_USED --debug"]},
|
|
"sta_connect2":{
|
|
"enabled":"FALSE",
|
|
"command":"sta_connect2.py",
|
|
"args":"",
|
|
"args_list":[" use_ssid_idx=1 --mgr LF_MGR_IP --dut_ssid SSID_USED --dut_passwd SSID_PW_USED --dut_security SECURITY_USED"]},
|
|
"sta_connect_example":{
|
|
"enabled":"FALSE",
|
|
"command":"sta_connect_example.py",
|
|
"args":"",
|
|
"args_list":[" use_ssid_idx=1 --mgr LF_MGR_IP "]},
|
|
"test_fileio":{
|
|
"enabled":"TRUE",
|
|
"command":"test_fileio.py",
|
|
"args":"",
|
|
"args_list":[" use_ssid_idx=1 --mgr LF_MGR_IP --macvlan_parent eth2 --num_ports 3 --use_macvlans --first_mvlan_ip 192.168.92.13 --netmask 255.255.255.0 --test_duration 30s --gateway 192.168.92.1"]},
|
|
"test_generic0":{
|
|
"enabled":"FALSE",
|
|
"command":"test_generic.py",
|
|
"args":"",
|
|
"args_list":[" use_ssid_idx=1 --mgr LF_MGR_IP --radio wiphy1 --ssid SSID_USED --passwd SSID_PW_USED --security SECURITY_USED --num_stations 4 --type lfping --dest 10.40.0.1 --debug"]},
|
|
"test_generic1":{
|
|
"enabled":"FALSE",
|
|
"command":"test_generic.py",
|
|
"args":"",
|
|
"args_list":[" use_ssid_idx=1 --mgr LF_MGR_IP --radio wiphy1 --ssid SSID_USED --passwd SSID_PW_USED --security SECURITY_USED --num_stations 4 --type speedtest --speedtest_min_up 20 --speedtest_min_dl 20 --speedtest_max_ping 150 --security SECURITY_USED --debug"]},
|
|
"test_generic2":{
|
|
"enabled":"FALSE",
|
|
"command":"test_generic.py",
|
|
"args":"",
|
|
"args_list":[" use_ssid_idx=1 --mgr LF_MGR_IP --radio wiphy1 --ssid SSID_USED --passwd SSID_PW_USED --security SECURITY_USED --num_stations 4 --type iperf3 --debug"]},
|
|
"test_generic3":{
|
|
"enabled":"FALSE",
|
|
"command":"test_generic.py",
|
|
"args":"",
|
|
"args_list":[" use_ssid_idx=1 --mgr LF_MGR_IP --radio wiphy1 --ssid SSID_USED --passwd SSID_PW_USED --security SECURITY_USED --num_stations 4 --type lfcurl --dest 10.40.0.1 --file_output /home/lanforge/Documents/lfcurl_output.txt --debug"]},
|
|
"testgroup":{
|
|
"enabled":"FALSE",
|
|
"command":"testgroup.py",
|
|
"args":"",
|
|
"args_list":["--mgr LF_MGR_IP --group_name group1 --add_group --list_groups --debug"]},
|
|
"testgroup5":{
|
|
"enabled":"FALSE",
|
|
"command":"testgroup.py",
|
|
"args":"",
|
|
"args_list":[" use_ssid_idx=1 --mgr LF_MGR_IP --num_stations 4 --ssid lanforge --passwd password --security SECURITY_USED --radio wiphy0 --group_name group0 --add_group"]},
|
|
"test_ip_connection-ipv4":{
|
|
"enabled":"TRUE",
|
|
"command":"test_ip_connection.py",
|
|
"args":"",
|
|
"args_list":[" use_ssid_idx=1 --mgr LF_MGR_IP --radio wiphy1 --num_stations 4 --ssid SSID_USED --passwd SSID_PW_USED --security SECURITY_USED --debug"]},
|
|
"test_ip_variable_time0-ipv4":{
|
|
"enabled":"TRUE",
|
|
"command":"test_ip_variable_time.py",
|
|
"args":"",
|
|
"args_list":[" use_ssid_idx=1 --mgr LF_MGR_IP --radio wiphy1 --ssid SSID_USED --passwd SSID_PW_USED --security SECURITY_USED --test_duration 15s --output_format excel --layer3_cols name,tx_bytes,rx_bytes,dropped --traffic_type lf_udp --debug"]},
|
|
"test_ip_variable_time1-ipv4":{
|
|
"enabled":"TRUE",
|
|
"command":"test_ip_variable_time.py",
|
|
"args":"",
|
|
"args_list":[" use_ssid_idx=1 --mgr LF_MGR_IP --radio wiphy1 --ssid SSID_USED --passwd SSID_PW_USED --security SECURITY_USED --test_duration 15s --output_format csv --layer3_cols name,tx_bytes,rx_bytes,dropped --traffic_type lf_udp --debug"]},
|
|
"test_ip_connection-ipv6":{
|
|
"enabled":"FALSE",
|
|
"command":"test_ip_connection.py",
|
|
"args":"",
|
|
"args_list":[" use_ssid_idx=1 --mgr LF_MGR_IP --radio wiphy1 --ssid SSID_USED --passwd SSID_PW_USED --security SECURITY_USED --ipv6 --debug"]},
|
|
"test_ip_variable_time0-ipv6":{
|
|
"enabled":"TRUE",
|
|
"command":"test_ip_variable_time.py",
|
|
"args":"",
|
|
"args_list":[" use_ssid_idx=1 --mgr LF_MGR_IP --radio wiphy1 --ssid SSID_USED --passwd SSID_PW_USED --security SECURITY_USED --test_duration 15s --output_format excel --layer3_cols name,tx_bytes,rx_bytes,dropped --ipv6 --traffic_type lf_udp --debug"]},
|
|
"test_ip_variable_time1-ipv6":{
|
|
"enabled":"TRUE",
|
|
"command":"test_ip_variable_time.py",
|
|
"args":"",
|
|
"args_list":[" use_ssid_idx=1 --mgr LF_MGR_IP --radio wiphy1 --ssid SSID_USED --passwd SSID_PW_USED --security SECURITY_USED --test_duration 15s --output_format csv --layer3_cols name,tx_bytes,rx_bytes,dropped --ipv6 --traffic_type lf_udp --debug"]},
|
|
"test_l4_bytes-rd":{
|
|
"enabled":"TRUE",
|
|
"command":"test_l4.py",
|
|
"args":"",
|
|
"args_list":[" use_ssid_idx=1 --mgr LF_MGR_IP --radio wiphy1 --num_stations 4 --security SECURITY_USED --ssid SSID_USED --passwd SSID_PW_USED --test_type bytes-rd --test_duration 15s --url 'dl http://10.40.0.1 /dev/null' --debug"]},
|
|
"test_l4_bytes-wr":{
|
|
"enabled":"FALSE",
|
|
"command":"test_l4.py",
|
|
"args":"",
|
|
"args_list":[" use_ssid_idx=1 --mgr LF_MGR_IP --radio wiphy1 --num_stations 4 --security SECURITY_USED --ssid SSID_USED --passwd SSID_PW_USED --test_type bytes-wr --test_duration 15s --url 'ul http://10.40.0.1' --debug"]},
|
|
"test_l4_urls_s":{
|
|
"enabled":"TRUE",
|
|
"command":"test_l4.py",
|
|
"args":"",
|
|
"args_list":[" use_ssid_idx=1 --mgr LF_MGR_IP --radio wiphy1 --num_stations 4 --security SECURITY_USED --ssid SSID_USED --passwd SSID_PW_USED --test_type urls --test_duration 15s --requests_per_ten 600 --target_per_ten 600 --url 'dl http://10.40.0.1 /dev/null' --debug"]},
|
|
"test_l4_ftp_bytes-rd":{
|
|
"enabled":"TRUE",
|
|
"command":"test_l4.py",
|
|
"args":"",
|
|
"args_list":[" use_ssid_idx=1 --mgr LF_MGR_IP --radio wiphy1 --num_stations 4 --security SECURITY_USED --ssid SSID_USED --passwd SSID_PW_USED --ftp --test_type bytes-rd --test_duration 15s --url 'dl ftp://10.40.0.1 /dev/null' --debug"]},
|
|
"test_l4_ftp_bytes-wr":{
|
|
"enabled":"FALSE",
|
|
"command":"test_l4.py",
|
|
"args":"",
|
|
"args_list":[" use_ssid_idx=1 --mgr LF_MGR_IP --radio wiphy1 --num_stations 4 --security SECURITY_USED --ssid SSID_USED --passwd SSID_PW_USED --ftp --test_type bytes-wr --test_duration 15s --url 'ul ftp://10.40.0.1' --debug"]},
|
|
"test_l4_ftp_urls_s":{
|
|
"enabled":"TRUE",
|
|
"command":"test_l4.py",
|
|
"args":"",
|
|
"args_list":[" use_ssid_idx=1 --mgr LF_MGR_IP --radio wiphy1 --num_stations 4 --security SECURITY_USED --ssid SSID_USED --passwd SSID_PW_USED --ftp --test_type urls --requests_per_ten 600 --target_per_ten 600 --test_duration 15s --url 'dl ftp://10.40.0.1 /dev/null' --debug"]},
|
|
"test_l3_longevity_1":{
|
|
"enabled":"TRUE",
|
|
"command":"test_l3_longevity.py",
|
|
"args":"",
|
|
"args_list":[" use_ssid_idx=1 --mgr LF_MGR_IP --test_duration 15s --polling_interval 5s --upstream_port eth2 --radio 'radio==wiphy0,stations==4,ssid==SSID_USED,ssid_pw==SSID_PW_USED,security==SECURITY_USED' --endp_type lf_udp --rates_are_totals --side_a_min_bps=20000 --side_b_min_bps=300000000"]},
|
|
"test_l3_powersave_traffic":{
|
|
"enabled":"FALSE",
|
|
"command":"test_l3_powersave_traffic.py",
|
|
"args":"",
|
|
"args_list":[" use_ssid_idx=1 --mgr LF_MGR_IP --radio wiphy1 --ssid SSID_USED --passwd SSID_PW_USED --security SECURITY_USED --debug"]},
|
|
"test_status_msg":{
|
|
"enabled":"TRUE",
|
|
"command":"test_status_msg.py",
|
|
"args":"",
|
|
"args_list":["--mgr LF_MGR_IP --action run_test"]},
|
|
"test_wanlink":{
|
|
"enabled":"TRUE",
|
|
"command":"test_wanlink.py",
|
|
"args":"","args_list":["--mgr LF_MGR_IP --debug"]},
|
|
"create_bridge":{
|
|
"enabled":"TRUE",
|
|
"command":"create_bridge.py",
|
|
"args":"",
|
|
"args_list":["--mgr LF_MGR_IP --radio wiphy1 --upstream_port eth2 --target_device sta0000 --debug"]},
|
|
"create_l3":{
|
|
"enabled":"FALSE",
|
|
"command":"create_l3.py",
|
|
"args":"",
|
|
"args_list":[" use_ssid_idx=1 --mgr LF_MGR_IP --radio wiphy1 --ssid SSID_USED --passwd SSID_PW_USED --security SECURITY_USED --debug"]},
|
|
"create_l4":{
|
|
"enabled":"TRUE",
|
|
"command":"create_l4.py",
|
|
"args":"",
|
|
"args_list":[" use_ssid_idx=1 --mgr LF_MGR_IP --radio wiphy1 --ssid SSID_USED --passwd SSID_PW_USED --security SECURITY_USED --debug"]},
|
|
"create_macvlan":{
|
|
"enabled":"TRUE",
|
|
"command":"create_macvlan.py",
|
|
"args":"",
|
|
"args_list":["--mgr LF_MGR_IP --radio wiphy1 --macvlan_parent eth2 --debug"]},
|
|
"create_station":{
|
|
"enabled":"TRUE",
|
|
"command":"create_station.py",
|
|
"args":"",
|
|
"args_list":[" use_ssid_idx=1 --mgr LF_MGR_IP --radio wiphy1 --ssid SSID_USED --passwd SSID_PW_USED --security SECURITY_USED --debug"]},
|
|
"create_vap":{
|
|
"enabled":"TRUE",
|
|
"command":"create_vap.py",
|
|
"args":"",
|
|
"args_list":[" use_ssid_idx=1 --mgr LF_MGR_IP --radio wiphy1 --ssid SSID_USED --passwd SSID_PW_USED --security SECURITY_USED --debug"]},
|
|
"create_qvlan":{
|
|
"enabled":"TRUE",
|
|
"command":"create_qvlan.py",
|
|
"args":"",
|
|
"args_list":[" use_ssid_idx=1 --mgr LF_MGR_IP --radio wiphy1 --qvlan_parent eth2"]},
|
|
"wlan_capacity_calculator1":{
|
|
"enabled":"TRUE",
|
|
"command":"./wlan_capacity_calculator.py",
|
|
"args":"",
|
|
"args_list":["-sta 11abg -t Voice -p 48 -m 106 -e WEP -q Yes -b 1 2 5.5 11 -pre Long -s N/A -co G.711 -r Yes -c Yes"]},
|
|
"wlan_capacity_calculator2":{
|
|
"enabled":"TRUE",
|
|
"command":"./wlan_capacity_calculator.py",
|
|
"args":"","args_list":["-sta 11n -t Voice -d 17 -ch 40 -gu 800 -high 9 -e WEP -q Yes -ip 5 -mc 42 -b 6 9 12 24 -m 1538 -co G.729 -pl Greenfield -cw 15 -r Yes -c Yes"]},
|
|
"wlan_capacity_calculator3":{
|
|
"enabled":"TRUE",
|
|
"command":"./wlan_capacity_calculator.py",
|
|
"args":"",
|
|
"args_list":["-sta 11ac -t Voice -d 9 -spa 3 -ch 20 -gu 800 -high 1 -e TKIP -q Yes -ip 3 -mc 0 -b 6 12 24 54 -m 1518 -co Greenfield -cw 15 -rc Yes"]},
|
|
"lf_qa":{
|
|
"enabled":"TRUE",
|
|
"timeout":"600",
|
|
"load_db":"skip",
|
|
"command":"./tools/lf_qa.py",
|
|
"args":"",
|
|
"args_list":[
|
|
" --path REPORT_PATH --store --png --database DATABASE_SQLITE"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|