moved cvtest_report.py to cv_test_report.py to be consistant with cv_test_manager.py also update lf_wifi_capacity.py

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
This commit is contained in:
Chuck SmileyRekiere
2021-04-08 16:09:23 -06:00
parent 8cf078f0e0
commit 3a8c9be33d
2 changed files with 1 additions and 1 deletions

View File

@@ -0,0 +1,13 @@
from paramiko import SSHClient
from scp import SCPClient
class lanforge_reports:
def pull_reports(self,hostname="localhost", username="lanforge", password="lanforge",report_location="/home/lanforge/html-reports/"):
ssh = SSHClient()
ssh.load_system_host_keys()
ssh.connect(hostname=hostname,username=username,password=password)
with SCPClient(ssh.get_transport()) as scp:
scp.get(report_location,recursive=True)
scp.close()