diff --git a/py-scripts/tools/ct_003_LANforge_dut.json b/py-scripts/tools/ct_003_LANforge_dut.json index 94eab1d6..b72a7293 100644 --- a/py-scripts/tools/ct_003_LANforge_dut.json +++ b/py-scripts/tools/ct_003_LANforge_dut.json @@ -1,5 +1,5 @@ { - "ct_AX12_dut":{ + "ct_lanforge_dut":{ "Notes":[ "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", @@ -10,16 +10,16 @@ ] }, "test_dut":{ - "dut_set_name": "DUT_NAME Netgear-AX12", - "dut_name": "Netgear-AX12", + "dut_set_name": "DUT_NAME lanforge-dut", + "dut_name": "lanforge", "dut_bssid_2g": "94:a6:7e:54:d4:31", "dut_bssid_5g": "94:a6:7e:54:d4:33", - "dut_sw": "3.0.0.4.386_44266", - "ssid_5g_used": "NETGEAR59", - "ssid_5g_pw_used": "crispynest798", + "dut_sw": "lanforge_GUI", + "ssid_5g_used": "ct-us-003-r3-5g", + "ssid_5g_pw_used": "ct-us-003-r3-5g", "security_5g_used": "wpa2", - "ssid_2g_used": "NETGEAR59-5G", - "ssid_2g_pw_used": "crispynest798", + "ssid_2g_used": "ct-us-003-r3-2g", + "ssid_2g_pw_used": "ct-us-003-r3-2g", "security_2g_used": "wpa2" } } diff --git a/py-scripts/tools/ct_us_001_rig.json b/py-scripts/tools/ct_us_001_rig.json index 5a5c82d5..c89a0d1a 100644 --- a/py-scripts/tools/ct_us_001_rig.json +++ b/py-scripts/tools/ct_us_001_rig.json @@ -21,20 +21,20 @@ "upstream_port":"1.1.eth2", "test_timeout": 600, "load_blank_db": false, - "load_factory_default_db": true, + "load_factory_default_db": false, "load_custom_db": false, "custom_db": "DFLT_ETH1_GEN", "email_list_production": "konikofi@candelatech.com,greearb@candelatech.com,,jreynolds@candelatech.com,matthew@candelatech.com,iain.davidson@candelatech.com,erin.grimes@candelatech.com,logan.lipke@candelatech.com,dipti.dhond@candelatech.com,chuck.rekiere@candelatech.com", - "host_ip_production": "192.168.100.153", + "host_ip_production": "192.168.95.6", "email_list_test": "chuck.rekiere@candelatech.com", - "host_ip_test": "192.168.100.153", + "host_ip_test": "192.168.95.6", "email_title_txt": "Lanforge QA Testing CT-US-001", "email_txt": "Lanforge QA Testing CT-US-001 " }, "test_network":{ - "http_test_ip": "10.40.0.10", - "ftp_test_ip": "10.40.0.10", - "test_ip": "192.168.0.104" + "http_test_ip": "192.168.50.1", + "ftp_test_ip": "192.168.50.1", + "test_ip": "192.168.50.1" }, "radio_dict":{ "1.1.wiphy0":{"KEY":"1.1.wiphy0","RADIO":"1.1.wiphy0","DRIVER":"ath10k(9984)","CAPABILITIES":"802.11bgn-AC","MAX_STA":"128","MAX_VAP":"24","MAX_VIFS":"64"}, diff --git a/py-scripts/tools/ct_us_001_tests.json b/py-scripts/tools/ct_us_001_tests.json index da374f53..eea19c54 100644 --- a/py-scripts/tools/ct_us_001_tests.json +++ b/py-scripts/tools/ct_us_001_tests.json @@ -77,6 +77,47 @@ " --set DUT_SET_NAME" ] }, + "CT-US-001_create_chamberview_dut_for_mt7915e_dp":{ + "enabled":"TRUE", + "load_db":"skip", + "command":"create_chamberview_dut.py", + "args":"", + "args_list":[ + " --lfmgr LF_MGR_IP --port LF_MGR_PORT --dut_name DUT_NAME", + " --ssid 'ssid_idx=0 ssid=SSID_2G_USED security=SECURITY_2G_USED password=SSID_2G_PW_USED bssid=DUT_BSSID_2G'", + " --ssid 'ssid_idx=1 ssid=SSID_5G_USED security=SECURITY_5G_USED password=SSID_5G_PW_USED bssid=DUT_BSSID_5G'", + " --sw_version DUT_SW --hw_version DUT_HW --serial_num DUT_SERIAL --model_num DUT_NAME" + ] + }, + "CT-US-001_create_chamberview_mt7915e_sta1":{ + "enabled":"TRUE", + "load_db":"skip", + "command":"create_chamberview.py", + "args":"", + "args_list":[ + " --lfmgr LF_MGR_IP --port LF_MGR_PORT --delete_scenario", + " --create_scenario ct-us-001-mt7915e-scenario ", + " --raw_line \"profile_link 1.1 STA-AUTO 1 'DUT: DUT_NAME Radio-2' NA wiphy7,AUTO -1 NA\" ", + " --raw_line \"profile_link 1.1 upstream-dhcp 1 NA NA UPSTREAM_PORT,AUTO -1 NA\"" + ] + }, + "CT-US-001_dataplane_mt7915e_sta1":{ + "enabled":"TRUE", + "load_db":"skip", + "iterations":"1", + "command":"lf_dataplane_test.py", + "args":"", + "args_list":[ + " --mgr LF_MGR_IP --port LF_MGR_PORT --lf_user lanforge --lf_password lanforge --instance_name cicd-dpt", + " --config_name test_con --upstream 1.1.eth2 --dut asus_5g --duration 30s --station 1.1.wlan7", + " --download_speed 85% --upload_speed 0 --raw_line 'pkts: 60;Custom' ", + " --raw_line 'cust_pkt_sz: 88;256;512;768;1024;MTU' ", + " --raw_line 'directions: DUT Transmit' --raw_line 'traffic_types: UDP' --raw_line 'bandw_options: AUTO'", + " --raw_line 'spatial_streams: AUTO' --pull_report --local_lf_report_dir REPORT_PATH --test_tag 'mt7915e' ", + " --test_rig TEST_RIG", + " --set DUT_SET_NAME" + ] + }, "CT-US-001_QA":{ "enabled":"TRUE", "timeout":"600", @@ -128,7 +169,7 @@ " --set DUT_SET_NAME" ] }, - "CT-US-001_create_chamberview_dut_for_ATH10K":{ + "CT-US-001_create_chamberview_dut_ATH10K":{ "enabled":"TRUE", "load_db":"skip", "command":"create_chamberview_dut.py", @@ -312,7 +353,7 @@ " --raw_line \"profile_link 1.1 upstream-dhcp 1 NA NA UPSTREAM_PORT,AUTO -1 NA\"" ] }, - "CT-US-001_dataplane_ATH10K_mt7915e_sta1":{ + "CT-US-001_dataplane_mt7915e_sta1":{ "enabled":"TRUE", "load_db":"skip", "iterations":"1", diff --git a/py-scripts/tools/ct_us_003_rig.json b/py-scripts/tools/ct_us_003_rig.json index cf2cf848..5114f2a0 100644 --- a/py-scripts/tools/ct_us_003_rig.json +++ b/py-scripts/tools/ct_us_003_rig.json @@ -1,22 +1,40 @@ { + "ct_us_003":{ + "Notes":[ + "The json is used to orchastrate the tests to be run on testbed ct_us_003", + "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_parameters":{ - "test_timeout": 200, + "test_bed": "CT-US-003", + "test_rig": "CT-US-003", + "database_sqlite": "qa_003_test_db", + "database_tag_influx": "testbed CT-US-003", + "lf_mgr_ip": "192.168.100.233", + "lf_mgr_port": "8080", + "lf_mgr_user": "lanforge", + "lf_mgr_pass": "lanforge", + "upstream_port":"1.1.eth1", + "test_timeout": 600, "load_blank_db": false, - "load_factory_default_db": true, + "load_factory_default_db": false, "load_custom_db": false, "custom_db": "DFLT_ETH1_GEN", "email_list_production": "konikofi@candelatech.com,greearb@candelatech.com,,jreynolds@candelatech.com,matthew@candelatech.com,iain.davidson@candelatech.com,erin.grimes@candelatech.com,logan.lipke@candelatech.com,dipti.dhond@candelatech.com,chuck.rekiere@candelatech.com", "host_ip_production": "192.168.95.6", "email_list_test": "chuck.rekiere@candelatech.com", "host_ip_test": "192.168.95.6", - "lf_mgr": "192.168.100.116", - "email_title_txt": "Lanforge QA Testing CT-US-001", - "email_txt": "Lanforge QA Testing CT-US-001 " + "email_title_txt": "Lanforge QA Testing CT-US-003", + "email_txt": "Lanforge QA Testing CT-US-003" }, "test_network":{ - "http_test_ip": "10.40.0.10", - "ftp_test_ip": "10.40.0.10", - "test_ip": "192.168.0.104" + "http_test_ip": "192.168.50.1", + "ftp_test_ip": "192.168.50.1", + "test_ip": "192.168.50.1" }, "radio_dict":{ "RADIO_0_CFG":{"KEY":"RADIO_0_CFG","RADIO":"wiphy0","STATIONS":"4","SSID":"ct523c-vap","PASSWD":"ct523c-vap","SECURITY":"wpa2"},