mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-11-01 03:07:56 +00:00
lf_snp_test.py : adjusted loops for station configuration
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
This commit is contained in:
@@ -2365,7 +2365,7 @@ LANforge GUI what is displayed in the Column and how to access the value with cl
|
||||
logg.info("# controller run settings: {}".format(test_config))
|
||||
if(args.no_controller):
|
||||
logg.info("################################################")
|
||||
logg.info("# NO CONTROLLER SET , TEST MODE")
|
||||
logg.info("# TEST MODE : NO CONTROLLER SET : TEST MODE")
|
||||
logg.info("################################################")
|
||||
if( controller_ap != __ap_set or
|
||||
controller_band != __band_set or
|
||||
@@ -2376,7 +2376,7 @@ LANforge GUI what is displayed in the Column and how to access the value with cl
|
||||
controller_chan_24ghz != __chan_24ghz_set
|
||||
):
|
||||
logg.info("###############################################")
|
||||
logg.info("# NEW CONTROLLER CONFIG")
|
||||
logg.info("# TEST MODE : NEW CONTROLLER CONFIG : TEST MODE")
|
||||
logg.info("###############################################")
|
||||
__ap_set = controller_ap
|
||||
__band_set = controller_band
|
||||
@@ -2387,6 +2387,10 @@ LANforge GUI what is displayed in the Column and how to access the value with cl
|
||||
__chan_24ghz_set = controller_chan_24ghz
|
||||
__client_density = controller_client_density
|
||||
else:
|
||||
logg.info("################################################")
|
||||
logg.info("# SETUP MODE : SETUP CONTROLLER : SETUP MODE")
|
||||
logg.info("################################################")
|
||||
|
||||
if( controller_ap != __ap_set or
|
||||
controller_band != __band_set or
|
||||
controller_chan_width != __chan_width_set or
|
||||
@@ -2396,7 +2400,7 @@ LANforge GUI what is displayed in the Column and how to access the value with cl
|
||||
controller_chan_24ghz != __chan_24ghz_set
|
||||
):
|
||||
logg.info("###############################################")
|
||||
logg.info("# NEW CONTROLLER CONFIG")
|
||||
logg.info("# SETUP MODE : NEW CONTROLLER CONFIG")
|
||||
logg.info("###############################################")
|
||||
__ap_set = controller_ap
|
||||
__band_set = controller_band
|
||||
@@ -2459,7 +2463,7 @@ LANforge GUI what is displayed in the Column and how to access the value with cl
|
||||
####################################
|
||||
else:
|
||||
logg.info("###############################################")
|
||||
logg.info("# NO CHANGE TO CONTROLLER CONFIG")
|
||||
logg.info("# SETUP MODE : NO CHANGE TO CONTROLLER CONFIG")
|
||||
logg.info("###############################################")
|
||||
logg.info("controller_ap: {} controller_band: {} controller_chan_width: {} controller_ap_mode: {} controller_tx_power: {} controller_chan_5ghz: {} controller_chan_24ghz: {}"
|
||||
.format(controller_ap,controller_band, controller_chan_width, controller_ap_mode, controller_tx_power, controller_chan_5ghz, controller_chan_24ghz))
|
||||
@@ -2503,9 +2507,9 @@ LANforge GUI what is displayed in the Column and how to access the value with cl
|
||||
reset_port_time_max_list.append('0s')
|
||||
# no stations for testing reconfiguration of the controller -
|
||||
if(args.no_stations):
|
||||
logg.info("##################################")
|
||||
logg.info("# NO STATIONS TEST MODE")
|
||||
logg.info("##################################")
|
||||
logg.info("#################################################")
|
||||
logg.info("# TEST MODE : NO STATIONS TEST MODE")
|
||||
logg.info("##################################################")
|
||||
else:
|
||||
index = 0
|
||||
station_lists = []
|
||||
|
||||
Reference in New Issue
Block a user