mirror of
				https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
				synced 2025-11-03 20:27:54 +00:00 
			
		
		
		
	ct_tests.json, ct_test_rig.json, ct_AX88U_dut.json , cookbook examples
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
This commit is contained in:
		
							
								
								
									
										18
									
								
								py-scripts/tools/ct_AX88U_dut.json
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										18
									
								
								py-scripts/tools/ct_AX88U_dut.json
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,18 @@
 | 
			
		||||
{
 | 
			
		||||
    "ct_AX88U_dut":{
 | 
			
		||||
        "Notes":[
 | 
			
		||||
            "This json file describes the device undertest as input to ./lf_check.py",
 | 
			
		||||
            "The variables that are capitalize are used for configuration",
 | 
			
		||||
            "The dut related configuration is contained in this file"
 | 
			
		||||
        ]  
 | 
			
		||||
    },
 | 
			
		||||
    "test_dut":{
 | 
			
		||||
        "DUT_SET_NAME": "DUT_NAME ASUSRT-AX88U",
 | 
			
		||||
        "DUT_NAME": "ASUSRT-AX88U",
 | 
			
		||||
        "wireless_network_dict":{
 | 
			
		||||
            "ssid_idx=0":{"ssid_idx":"0","SSID_USED":"asus11ax-2","SSID_PW_USED":"hello123","BSSID":"3c:7c:3f:55:4d:60","SECURITY_USED":"wpa2"},
 | 
			
		||||
            "ssid_idx=1":{"ssid_idx":"1","SSID_USED":"asus11ax-5","SSID_PW_USED":"hello123","BSSID":"3c:7c:3f:55:4d:64","SECURITY_USED":"wpa2"}
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
			
 | 
			
		||||
							
								
								
									
										26
									
								
								py-scripts/tools/ct_test_rig.json
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										26
									
								
								py-scripts/tools/ct_test_rig.json
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,26 @@
 | 
			
		||||
{
 | 
			
		||||
    "test_rig":{
 | 
			
		||||
        "Notes":[
 | 
			
		||||
            "This json file describes LANforge system and test run configuration"
 | 
			
		||||
        ]  
 | 
			
		||||
    },
 | 
			
		||||
    "test_rig_parameters":{
 | 
			
		||||
        "TEST_BED": "CT-TEST-001",
 | 
			
		||||
        "TEST_RIG": "CT-TEST-001",
 | 
			
		||||
        "DATABASE_SQLITE": "./tools/qa_sqlite3.db",
 | 
			
		||||
        "LF_MGR_IP": "192.168.100.116",
 | 
			
		||||
        "LF_MGR_PORT": "8080",
 | 
			
		||||
        "LF_MGR_USER": "lanforge",
 | 
			
		||||
        "LF_MGR_PASS": "lanforge",
 | 
			
		||||
        "UPSTREAM_PORT":"1.1.eth2",
 | 
			
		||||
        "TEST_TIMEOUT": 600,
 | 
			
		||||
        "LOAD_BLANK_DB": false,
 | 
			
		||||
        "LOAD_FACTORY_DEFAULT_DB": false,
 | 
			
		||||
        "LOAD_CUSTOM_DB": false,
 | 
			
		||||
        "CUSTOM_DB": "DFLT_ETH1_GEN",
 | 
			
		||||
        "EMAIL_LIST_PRODUCTION": "support@candelatech.com",
 | 
			
		||||
        "EMAIL_LIST_TEST": "support@candelatech.com",
 | 
			
		||||
        "EMAIL_TITLE_TXT": "Lanforge QA Testing",
 | 
			
		||||
        "EMAIL_TXT": "Lanforge QA Testing"
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										60
									
								
								py-scripts/tools/ct_tests.json
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										60
									
								
								py-scripts/tools/ct_tests.json
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,60 @@
 | 
			
		||||
{
 | 
			
		||||
    "ct_tests_001":{
 | 
			
		||||
        "Notes":[
 | 
			
		||||
            "This json file describes tests to be run by LANforge system"
 | 
			
		||||
        ]  
 | 
			
		||||
    },
 | 
			
		||||
    "test_suites":{
 | 
			
		||||
        "suite_wc_dp_shorter":{
 | 
			
		||||
            "create_chamberview_dut_mt7915e_wc":{
 | 
			
		||||
                "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_USED security=SECURITY_USED password=SSID_PW_USED bssid=BSSID'",
 | 
			
		||||
                    " --ssid 'ssid_idx=1 ssid=SSID_USED security=SECURITY_USED password=SSID_PW_USED bssid=BSSID'",
 | 
			
		||||
                    " --sw_version DUT_SW --hw_version DUT_HW --serial_num DUT_SERIAL --model_num DUT_NAME"
 | 
			
		||||
                ]
 | 
			
		||||
            },
 | 
			
		||||
            "create_chamberview_mt7915e_wc":{
 | 
			
		||||
                "enabled":"TRUE",
 | 
			
		||||
                "load_db":"skip",
 | 
			
		||||
                "command":"create_chamberview.py",
 | 
			
		||||
                "args":"",
 | 
			
		||||
                "args_list":[
 | 
			
		||||
                    " --lfmgr LF_MGR_IP --port LF_MGR_PORT --delete_scenario",
 | 
			
		||||
                    " --create_scenario mt7915e_wc",
 | 
			
		||||
                    " --raw_line \"profile_link 1.1 STA-AC 19 'DUT: DUT_NAME Radio-1' NA wiphy7,AUTO -1 NA\" ",
 | 
			
		||||
                    " --raw_line \"profile_link 1.1 upstream-dhcp 1 NA NA UPSTREAM_PORT,AUTO -1 NA\""                    
 | 
			
		||||
                ]
 | 
			
		||||
            },
 | 
			
		||||
            "wifi_capacity_mt7915e":{
 | 
			
		||||
                "enabled":"TRUE",
 | 
			
		||||
                "timeout":"600",
 | 
			
		||||
                "iterations":"1",
 | 
			
		||||
                "load_db":"skip",
 | 
			
		||||
                "command":"lf_wifi_capacity_test.py",
 | 
			
		||||
                "args":"",
 | 
			
		||||
                "args_list":[
 | 
			
		||||
                    " --mgr LF_MGR_IP --port LF_MGR_PORT --lf_user LF_MGR_USER --lf_password LF_MGR_PASS --instance_name mt7915e_wc",
 | 
			
		||||
                    " --upstream UPSTREAM_PORT --batch_size 1,10,19 --loop_iter 1 --protocol UDP-IPv4 --duration 6000",
 | 
			
		||||
                    " --pull_report --local_lf_report_dir REPORT_PATH --test_tag 'mt7915e'",
 | 
			
		||||
                    " --test_rig TEST_RIG",
 | 
			
		||||
                    " --set DUT_SET_NAME"
 | 
			
		||||
                ]
 | 
			
		||||
            },
 | 
			
		||||
            "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"
 | 
			
		||||
                ]
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user