lf_cisco_snp.py : corrected naming bug fix

This commit is contained in:
Chuck SmileyRekiere
2020-11-08 13:47:12 -07:00
parent 41f1de6c9d
commit 72e6dbb22c

View File

@@ -1578,15 +1578,15 @@ TODO: Radio descriptions in realm , the 1. refers to the chassi hopefully corres
print("Cisco run: AP {} band: {} wifimode {} tx_power {} chan_5ghz {} chan_24ghz {} chan_width {} cisco_ap_mode {} cisco_packet_size {}".format(cisco_ap,
cisco_band, cisco_wifimode, cisco_tx_power, cisco_chan_5ghz, cisco_chan_24ghz, cisco_chan_width, cisco_ap_mode, cisco_packet_size))
# over write the configurations of args for controller
cisco_args.cisco_ap = cisco_ap
cisco_args.cisco_band = cisco_band
cisco_args.cisco_ap = cisco_ap
cisco_args.cisco_band = cisco_band
if cisco_band == "a":
cisco_args.cisco_chan = cisco_chan_5ghz
cisco_args.cisco_chan = cisco_chan_5ghz
else:
cisco_args.cisco_chan = cisco_chan_24ghz
cisco_args.cisco_chan_width = cisco_chan_width
cisco_args.cisco_ap_mode = cisco_ap_mode
cisco_args.cisco_tx_power = cisco_tx_power
cisco_args.cisco_chan = cisco_chan_24ghz
cisco_args.cisco_chan_width = cisco_chan_width
cisco_args.cisco_ap_mode = cisco_ap_mode
cisco_args.controller_set_tx_power = cisco_tx_power
print(cisco_args)
cisco = cisco_(cisco_args)