mirror of
				https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
				synced 2025-11-04 04:38:02 +00:00 
			
		
		
		
	lf_atten_mode_test.py : the script does not need --port except that the script
inherits from Realm which requires a port. the --port in the script conflicted with the base args parser so the base args parser will be used. Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
This commit is contained in:
		
				
					committed by
					
						
						shivam
					
				
			
			
				
	
			
			
			
						parent
						
							87291c7803
						
					
				
				
					commit
					17254d65a6
				
			@@ -70,7 +70,8 @@ def main():
 | 
			
		||||
 | 
			
		||||
    parser.add_argument('-hst', '--host', help='host name', default='192.168.200.12')
 | 
			
		||||
    # basic_argparser contains --port option
 | 
			
		||||
    parser.add_argument('-port', '--port', help='port name', default=8080)
 | 
			
		||||
    # Realm requires a port to be passed in 
 | 
			
		||||
    # parser.add_argument('-port', '--port', help='port name', default=8080)
 | 
			
		||||
    parser.add_argument('-atten_serno', '--atten_serno', help='Serial number for requested Attenuator, or \'all\'', default=2222)
 | 
			
		||||
    parser.add_argument('-atten_idx', '--atten_idx', help='Attenuator index eg. For module 1 = 0,module 2 = 1', default=7)
 | 
			
		||||
    parser.add_argument('-atten_val', '--atten_val', help='Requested attenution in 1/10ths of dB (ddB).', default=550)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user