From af57e6a1b4ad07f63c778d3d26c4e436f14df6ac Mon Sep 17 00:00:00 2001 From: Chuck SmileyRekiere Date: Thu, 10 Feb 2022 11:16:28 -0700 Subject: [PATCH] lf_tx_power.py added testbed and AP to the xlsx Signed-off-by: Chuck SmileyRekiere --- lf_tx_power.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/lf_tx_power.py b/lf_tx_power.py index 072a417d..f2aeb08e 100755 --- a/lf_tx_power.py +++ b/lf_tx_power.py @@ -379,6 +379,7 @@ def main(): parser.add_argument("--tag_policy", type=str, help="--tag_policy default-tag-policy", default="default-tag-policy") # parser.add_argument("--tag_policy", type=str, help="--tag_policy default-tag-policy", default="RM204-TB2") parser.add_argument("--policy_profile", type=str, help="--policy_profile default-policy-profile", default="default-policy-profile") + parser.add_argument("--testbed_id", type=str, help="--testbed_id", default="") parser.add_argument( "--lf_logger_config_json", help="--lf_logger_config_json , json configuration of logger") @@ -628,13 +629,14 @@ def main(): row = 0 worksheet.write(row, col, 'Regulatory\nDomain', dblue_bold) col += 1 - worksheet.set_column(col, col, 10) # Set width - worksheet.write(row, col, 'Controller', dblue_bold) + worksheet.set_column(col, col, 16) # Set width + worksheet.write(row, col, 'Controller\n{testbed_id}'.format(testbed_id=args.testbed_id), dblue_bold) col += 1 worksheet.set_column(col, col, 12) # Set width worksheet.write(row, col, 'Controller\nChannel', dblue_bold) col += 1 - worksheet.write(row, col, 'AP\nChannel', dblue_bold) + worksheet.set_column(col, col, 20) # Set width + worksheet.write(row, col, 'AP\n{ap}\nChannel'.format(ap=args.ap), dblue_bold) col += 1 worksheet.write(row, col, 'NSS', dblue_bold) col += 1