mirror of
				https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
				synced 2025-11-04 04:38:02 +00:00 
			
		
		
		
	test_l3.py : autopep8 linting
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
This commit is contained in:
		
				
					committed by
					
						
						shivam
					
				
			
			
				
	
			
			
			
						parent
						
							a82d0b9673
						
					
				
				
					commit
					a9e5ad3935
				
			@@ -21,7 +21,7 @@ EXAMPLE:
 | 
			
		||||
./test_l3.py --mgr localhost --endp_type 'lf_udp lf_tcp' --upstream_port 1.1.eth1 \
 | 
			
		||||
  --radio "radio==1.1.wiphy0 stations==10 ssid==ASUS_70 ssid_pw==[BLANK] security==open" \
 | 
			
		||||
  --radio "radio==1.1.wiphy2 stations==1 ssid==ASUS_70 ssid_pw==[BLANK] security==open" \
 | 
			
		||||
  --test_duration 5s 
 | 
			
		||||
  --test_duration 5s
 | 
			
		||||
 | 
			
		||||
Example command using attenuator
 | 
			
		||||
./test_l3.py --test_duration 5m --polling_interval 1s --upstream_port eth2 \
 | 
			
		||||
@@ -604,8 +604,8 @@ class L3VariableTime(Realm):
 | 
			
		||||
                "PASS: Stations & CX build finished: created/updated: %s stations and %s connections." %
 | 
			
		||||
                (self.station_count, self.cx_count))
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
    # Run the main body of the test logic.
 | 
			
		||||
 | 
			
		||||
    def start(self, print_pass=False):
 | 
			
		||||
        print("Bringing up stations")
 | 
			
		||||
        self.admin_up(self.side_b)
 | 
			
		||||
@@ -1209,8 +1209,8 @@ and received.
 | 
			
		||||
 | 
			
		||||
Generic command layout:
 | 
			
		||||
-----------------------
 | 
			
		||||
./test_l3.py --mgr <ip_address> --test_duration <duration> --endp_type <traffic types> --upstream_port <port> 
 | 
			
		||||
--radio "radio==<radio> stations==<number stations> ssid==<ssid> ssid_pw==<ssid password> 
 | 
			
		||||
./test_l3.py --mgr <ip_address> --test_duration <duration> --endp_type <traffic types> --upstream_port <port>
 | 
			
		||||
--radio "radio==<radio> stations==<number stations> ssid==<ssid> ssid_pw==<ssid password>
 | 
			
		||||
security==<security type: wpa2, open, wpa3>" --debug
 | 
			
		||||
 | 
			
		||||
Multiple radios may be entered with individual --radio switches
 | 
			
		||||
@@ -1661,7 +1661,6 @@ Setting wifi_settings per radio
 | 
			
		||||
    # test_priority = args.test_priority  # this may need to be set per test
 | 
			
		||||
    test_id = args.test_id
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
    if args.test_duration:
 | 
			
		||||
        test_duration = args.test_duration
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user