mirror of
				https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
				synced 2025-11-04 04:38:02 +00:00 
			
		
		
		
	lf_check.py : comment update for starting lanforge on boot
ct_us_001.json : start of configuation for ap auto test Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
This commit is contained in:
		@@ -14,6 +14,7 @@
 | 
				
			|||||||
        "lf_mgr_ip": "192.168.100.116",
 | 
					        "lf_mgr_ip": "192.168.100.116",
 | 
				
			||||||
        "lf_mgr_port": "8080",
 | 
					        "lf_mgr_port": "8080",
 | 
				
			||||||
        "dut_name": "ASUSRT-AX88U",
 | 
					        "dut_name": "ASUSRT-AX88U",
 | 
				
			||||||
 | 
					        "dut_bssid_2g": "3c:7c:3f:55:4d:60",
 | 
				
			||||||
        "dut_bssid_5g": "3c:7c:3f:55:4d:64",
 | 
					        "dut_bssid_5g": "3c:7c:3f:55:4d:64",
 | 
				
			||||||
        "dut_sw": "3.0.0.4.386_42820",
 | 
					        "dut_sw": "3.0.0.4.386_42820",
 | 
				
			||||||
        "test_timeout": 300,
 | 
					        "test_timeout": 300,
 | 
				
			||||||
@@ -110,6 +111,24 @@
 | 
				
			|||||||
                    " --mgr LF_MGR_IP --port LF_MGR_PORT --lf_user lanforge --lf_password lanforge",
 | 
					                    " --mgr LF_MGR_IP --port LF_MGR_PORT --lf_user lanforge --lf_password lanforge",
 | 
				
			||||||
                    " --instance_name ap-auto-instance --config_name test_con --upstream UPSTREAM_PORT",
 | 
					                    " --instance_name ap-auto-instance --config_name test_con --upstream UPSTREAM_PORT",
 | 
				
			||||||
                    " --dut5_0 'DUT_NAME lanforge DUT_BSSID_5G (1)' --dut2_0 'DUT_NAME lanforge DUT_BSSID_5G (1)'",
 | 
					                    " --dut5_0 'DUT_NAME lanforge DUT_BSSID_5G (1)' --dut2_0 'DUT_NAME lanforge DUT_BSSID_5G (1)'",
 | 
				
			||||||
 | 
					                    " --max_stations_2 4 --max_stations_5 32 --max_stations_dual 4 --radio2 1.1.wiphy1",
 | 
				
			||||||
 | 
					                    " --radio5 1.1.wiphy2 --set 'Basic Client Connectivity' 1",
 | 
				
			||||||
 | 
					                    " --set 'Multi Band Performance' 0 --set 'Stability' 0 --set 'Multi-Station Throughput vs Pkt Size'  0,",
 | 
				
			||||||
 | 
					                    " --set 'Throughput vs Pkt Size' 0 --set 'Capacity' 0 --set 'Band-Steering' 0 --set 'Skip 2.4 Ghz Tests' 1",
 | 
				
			||||||
 | 
					                    " --pull_report --local_lf_report_dir REPORT_PATH",
 | 
				
			||||||
 | 
					                    " --test_rig TEST_RIG --influx_host DATABASE_HOST --influx_port DATABASE_PORT --influx_org DATABASE_ORG",
 | 
				
			||||||
 | 
					                    " --influx_token=DATABASE_TOKEN --influx_bucket DATABASE_BUCKET --influx_tag DATABASE_TAG --set DUT_SET_NAME"
 | 
				
			||||||
 | 
					                ]
 | 
				
			||||||
 | 
					            },
 | 
				
			||||||
 | 
					            "CT-US-001_lf_ap_auto_test1": {
 | 
				
			||||||
 | 
					                "enabled": "FALSE",
 | 
				
			||||||
 | 
					                "command": "lf_ap_auto_test.py",
 | 
				
			||||||
 | 
					                "timeout":"1200",
 | 
				
			||||||
 | 
					                "args": "",
 | 
				
			||||||
 | 
					                "args_list":[
 | 
				
			||||||
 | 
					                    " --mgr LF_MGR_IP --port LF_MGR_PORT --lf_user lanforge --lf_password lanforge",
 | 
				
			||||||
 | 
					                    " --instance_name ap-auto-instance --config_name test_con --upstream UPSTREAM_PORT",
 | 
				
			||||||
 | 
					                    " --dut5_0 'DUT_NAME lanforge DUT_BSSID_5G (1)' --dut2_0 'DUT_NAME lanforge DUT_BSSID_2G (1)'",
 | 
				
			||||||
                    " --max_stations_2 32 --max_stations_5 32 --max_stations_dual 100 --radio2 1.1.wiphy1",
 | 
					                    " --max_stations_2 32 --max_stations_5 32 --max_stations_dual 100 --radio2 1.1.wiphy1",
 | 
				
			||||||
                    " --radio5 1.1.wiphy2 --set 'Basic Client Connectivity' 1",
 | 
					                    " --radio5 1.1.wiphy2 --set 'Basic Client Connectivity' 1",
 | 
				
			||||||
                    " --set 'Multi Band Performance' 0 --set 'Stability' 0 --set 'Multi-Station Throughput vs Pkt Size'  0,",
 | 
					                    " --set 'Multi Band Performance' 0 --set 'Stability' 0 --set 'Multi-Station Throughput vs Pkt Size'  0,",
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -40,6 +40,9 @@ Starting LANforge:
 | 
				
			|||||||
    On local or remote system: /home/lanforge/LANforgeGUI/lfclient.bash -cli-socket 3990 -s LF_MGR 
 | 
					    On local or remote system: /home/lanforge/LANforgeGUI/lfclient.bash -cli-socket 3990 -s LF_MGR 
 | 
				
			||||||
    On local system the -s LF_MGR will be local_host if not provided
 | 
					    On local system the -s LF_MGR will be local_host if not provided
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    On LANforge ~lanforge/.config/autostart/LANforge-auto.desktop is used to restart lanforge on boot.
 | 
				
			||||||
 | 
					        http://www.candelatech.com/cookbook.php?vol=misc&book=Automatically+starting+LANforge+GUI+on+login
 | 
				
			||||||
 | 
					
 | 
				
			||||||
1. add server (telnet localhost 4001) build info,  GUI build sha, and Kernel version to the output. 
 | 
					1. add server (telnet localhost 4001) build info,  GUI build sha, and Kernel version to the output. 
 | 
				
			||||||
    A. for build information on LANforgeGUI : /home/lanforge ./btserver --version
 | 
					    A. for build information on LANforgeGUI : /home/lanforge ./btserver --version
 | 
				
			||||||
    B. for the kernel version uname -r (just verion ), uname -a build date
 | 
					    B. for the kernel version uname -r (just verion ), uname -a build date
 | 
				
			||||||
@@ -54,6 +57,8 @@ Starting LANforge:
 | 
				
			|||||||
# send curl command to remote power switch to reboot testbed
 | 
					# send curl command to remote power switch to reboot testbed
 | 
				
			||||||
#   curl -s http://admin:lanforge@192.168.100.237/outlet?1=CCL -o /dev/null 2>&1
 | 
					#   curl -s http://admin:lanforge@192.168.100.237/outlet?1=CCL -o /dev/null 2>&1
 | 
				
			||||||
# 
 | 
					# 
 | 
				
			||||||
 | 
					 
 | 
				
			||||||
 | 
					
 | 
				
			||||||
'''
 | 
					'''
 | 
				
			||||||
import datetime
 | 
					import datetime
 | 
				
			||||||
import pprint
 | 
					import pprint
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user