mirror of
				https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
				synced 2025-10-31 10:48:02 +00:00 
			
		
		
		
	parameter fixes
This commit is contained in:
		| @@ -208,8 +208,13 @@ Note:   multiple --radio switches may be entered up to the number of radios avai | ||||
|     parser.add_argument('--test_duration', help='--test_duration sets the duration of the test', default="5m") | ||||
|  | ||||
|     args = parser.parse_args() | ||||
|     num_sta = 2 | ||||
|     if (args.num_stations is not None) and (int(args.num_stations) > 0): | ||||
|         num_stations_converted = int(args.num_stations) | ||||
|         num_sta = num_stations_converted | ||||
|  | ||||
|     station_list = LFUtils.portNameSeries(prefix_="sta", start_id_=0, end_id_=1, padding_number_=10000, | ||||
|  | ||||
|     station_list = LFUtils.portNameSeries(prefix_="sta", start_id_=0, end_id_=num_sta-1, padding_number_=10000, | ||||
|                                           radio=args.radio) | ||||
|  | ||||
|     ip_var_test = IPV4VariableTime(args.mgr, lfjson_port, number_template="00", sta_list=station_list, | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Dipti
					Dipti