lf_tx_power.py : updated dual-band command help, updated comment

# 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.
lf_check.py : updated to allow for local reporting. (first attempt)

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
This commit is contained in:
Chuck SmileyRekiere
2022-04-14 09:59:27 -06:00
committed by shivam
parent ffbc2af5fc
commit b7a50cf445
2 changed files with 29 additions and 6 deletions

View File

@@ -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 += """