diff --git a/lf_tx_power.py b/lf_tx_power.py index 6167b07f..e649d3cf 100755 --- a/lf_tx_power.py +++ b/lf_tx_power.py @@ -362,9 +362,9 @@ def main(): # AP configuration parser.add_argument("-a", "--ap", type=str, help="[AP configuration] select AP ", required=True) - parser.add_argument("--ap_dual_band_slot_6g", type=str, help="[AP configuration] --ap_dual_band_slot_6g 3 , 9800 AP dual-band slot , for 6g dual-band use show ap dot11 dual-band summary", default='2') - parser.add_argument("--ap_dual_band_slot_5g", type=str, help="[AP configuration] --ap_dual_band_slot_5g 1 , 9800 AP dual-band slot , for 5g dual-band use show ap dot11 dual-band summary", default='2') - parser.add_argument("--ap_band_slot_6g", type=str, help="[AP configuration] --ap_band_slot_6g 3 , 9800 AP band slot , use show ap dot11 6ghz summary", default='2') + parser.add_argument("--ap_dual_band_slot_6g", type=str, help="[AP configuration] --ap_dual_band_slot_6g 2 , 9800 AP dual-band slot , for 6g dual-band use show ap dot11 dual-band summary", default='2') + parser.add_argument("--ap_dual_band_slot_5g", type=str, help="[AP configuration] --ap_dual_band_slot_5g 2 , 9800 AP dual-band slot , for 5g dual-band use show ap dot11 dual-band summary", default='2') + parser.add_argument("--ap_band_slot_6g", type=str, help="[AP configuration] --ap_band_slot_6g 2 , 9800 AP band slot , use show ap dot11 6ghz summary", default='2') parser.add_argument("--ap_band_slot_5g", type=str, help="[AP configuration] --ap_band_slot_5g 1 , 9800 AP band slot , use show ap dot11 5ghz summary", default='1') parser.add_argument("--ap_band_slot_24g", type=str, help="[AP configuration] --ap_band_slot_24g 0 , 9800 AP band slot , use show ap dot11 24ghz summary", default='0') @@ -1085,6 +1085,10 @@ def main(): "--set_ifstate", "down"]) cs.show_ap_summary() + # when both 5g (slot 1) is enabled and dual-band 5g (slot 2) is enabled . + # 5g slot 1 will used the 5g channels to 64, the 5g dual-band will use channels 100 -> 165. + # When 5g (slot 1) and dual-band 6g (slot 2) is enabled then 5g (slot 1) has all bands. + # if dual band : disable dual-band mode, config mode, enable dual-band mode # disable dual-band mode if args.band == "dual_band_6g": diff --git a/py-scripts/tools/lf_check.py b/py-scripts/tools/lf_check.py index 84397911..5fdef175 100755 --- a/py-scripts/tools/lf_check.py +++ b/py-scripts/tools/lf_check.py @@ -470,20 +470,39 @@ class lf_check(): Results from {hostname}: Suite: {suite} Database: {db} + +lf_check Test Suite Report: http://{hostname}/{report} -""".format(email_txt=self.email_txt, lf_mgr_ip=self.lf_mgr_ip, suite=self.test_suite, db=self.database_sqlite, hostname=self.hostname, report=report_url) + +lf_check Local Test Suite Report: +file:///{report_local} + +""".format(email_txt=self.email_txt, lf_mgr_ip=self.lf_mgr_ip, suite=self.test_suite, db=self.database_sqlite, hostname=self.hostname, report=report_url, report_local=report_url) + + else: message_txt = """Results from {hostname}: Suite: {suite} Database: {db} -http://{hostname}/{report}""".format(hostname=self.hostname, suite=self.test_suite, db=self.database_sqlite, report=report_url) + +lf_check Test Suite Report: +http://{hostname}/{report} + +lf_check Local Test Suite Report: +file:///{report_local} +""".format(hostname=self.hostname, suite=self.test_suite, db=self.database_sqlite, report=report_url, report_local=report_url) # Put in report information current two methods supported, if "NA" not in self.qa_report_html: message_txt += """ + QA Report Dashboard: http://{ip_qa}/{qa_url} -NOTE: Diagrams are links in dashboard""".format(ip_qa=ip, qa_url=qa_url) + +QA Report Dashboard Local: +file:///{qa_url_local} + +NOTE: Diagrams are links in dashboard""".format(ip_qa=ip, qa_url=qa_url, qa_url_local=qa_url) else: message_txt += """