mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2026-03-20 03:41:40 +00:00
cc_module_9800_3504.py : removed 'a' and 'b' references
lf_tx_power.py : updates spread sheet comments Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
This commit is contained in:
committed by
shivam
parent
e93ea41bd0
commit
080de95d90
@@ -183,11 +183,6 @@ class create_controller_series_object:
|
||||
self.band = 'dual_band_5g'
|
||||
elif self.band == 'dual_band_6g':
|
||||
self.band = 'dual_band_6g'
|
||||
elif self.band == 'a':
|
||||
self.band = '5g'
|
||||
elif self.band == 'b':
|
||||
self.band = '24g'
|
||||
pass
|
||||
else:
|
||||
logger.critical("band needs to be set 24g 5g 6g dual_band_5g, dual_band_6g")
|
||||
raise ValueError("band needs to be set 24g 5g 6g dual_band_5g or dual_band_6g")
|
||||
@@ -213,8 +208,7 @@ class create_controller_series_object:
|
||||
# TODO consolidate the command formats
|
||||
|
||||
def send_command(self):
|
||||
# for converting 'a' to '5g' , and 'b' to '24g'
|
||||
self.convert_band()
|
||||
# self.convert_band()
|
||||
self.set_ap_band_slot()
|
||||
|
||||
logger.info("action {action}".format(action=self.action))
|
||||
|
||||
@@ -357,7 +357,7 @@ def main():
|
||||
parser.add_argument("-p", "--passwd", type=str, help="[controller configuration] credential password --passwd Cisco123", required=True)
|
||||
parser.add_argument('-ccp', '--prompt', type=str, help="[controller configuration] controller prompt --prompt WLC1", required=True)
|
||||
parser.add_argument("--series", type=str, help="[controller configuration] controller series --series 9800", required=True)
|
||||
parser.add_argument("--band", type=str, help="band testing --band 6g", choices=["a", "5g", "24g", "b", "abgn", "6g"])
|
||||
parser.add_argument("--band", type=str, help="band testing --band 6g", choices=["5g", "24g", "6g"])
|
||||
parser.add_argument("--module", type=str, help="[controller configuration] series module (cc_module_9800_3504.py) --module cc_module_9800_3504 ", required=True)
|
||||
parser.add_argument("--timeout", type=str, help="[controller configuration] controller command timeout --timeout 3 ", default=3)
|
||||
|
||||
@@ -831,13 +831,13 @@ def main():
|
||||
worksheet.write(row, col, 'Controller\nReported\ndBm', dblue_bold)
|
||||
col += 1
|
||||
worksheet.set_column(col, col, 25) # Set width
|
||||
worksheet.write(row, col, 'Client Calc Beacon dBm\n beacon + pathloss\n + rssi_adj + antenna gain', dblue_bold)
|
||||
worksheet.write(row, col, 'Client Calc Beacon dBm\n beacon + pathloss\n + rssi_adj - antenna gain', dblue_bold)
|
||||
col += 1
|
||||
worksheet.set_column(col, col, 25) # Set width
|
||||
worksheet.write(row, col, 'Difference Between Controller dBm\n & Client Calc Beacon dBm \n (+/- {diff} dBm)'.format(diff=args.beacon_dbm_diff), dblue_bold)
|
||||
worksheet.write(row, col, 'Difference Between\n Controller dBm\n & Client Calc Beacon dBm \n (+/- {diff} dBm)'.format(diff=args.beacon_dbm_diff), dblue_bold)
|
||||
col += 1
|
||||
worksheet.set_column(col, col, 25) # Set width
|
||||
worksheet.write(row, col, 'Client Calc Combined Signal dBm\n total signal dBm + pathloss\n + rssi_adj + antenna gain', dblue_bold)
|
||||
worksheet.write(row, col, 'Client Calc\n Combined Signal dBm\n total signal dBm + pathloss\n + rssi_adj - antenna gain', dblue_bold)
|
||||
col += 1
|
||||
worksheet.set_column(col, col, 25) # Set width
|
||||
worksheet.write(row, col, 'Difference Between\n Controller dBm\n& Client Calc Combined\n Signal dBm', dblue_bold)
|
||||
|
||||
Reference in New Issue
Block a user