mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-10-31 18:58:01 +00:00
parameter fixes
This commit is contained in:
@@ -208,8 +208,11 @@ TBD
|
||||
parser.add_argument('--vr_name', help='--vr_name sets the name to be used by the virtual router', default="vr_test")
|
||||
|
||||
args = parser.parse_args()
|
||||
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 = VRTest(args.mgr, lfjson_port, number_template="00", sta_list=station_list,
|
||||
|
||||
Reference in New Issue
Block a user