diff --git a/py-json/cv_test_manager.py b/py-json/cv_test_manager.py index d4ad7adf..f9b3f34d 100644 --- a/py-json/cv_test_manager.py +++ b/py-json/cv_test_manager.py @@ -372,12 +372,13 @@ class cv_test(Realm): self.lf_report_dir = location if pull_report: try: - print(lf_host) + print("Pulling report to directory: %s from %s@%s/%s" % + (local_lf_report_dir, lf_user, lf_host, location)) report.pull_reports(hostname=lf_host, username=lf_user, password=lf_password, port=ssh_port, report_dir=local_lf_report_dir, report_location=location) except Exception as e: - print("SCP failed, user %s, password %s, dest %s", (lf_user, lf_password, lf_host)) + print("SCP failed, user %s, password %s, dest %s" % (lf_user, lf_password, lf_host)) raise e # Exception("Could not find Reports") break diff --git a/py-scripts/lf_rvr_test.py b/py-scripts/lf_rvr_test.py index 9b53ab2c..1f14225c 100755 --- a/py-scripts/lf_rvr_test.py +++ b/py-scripts/lf_rvr_test.py @@ -242,6 +242,24 @@ def main(): --influx_bucket ben \\ --influx_tag testbed Ferndale-Mesh + ./lf_rvr_test.py --mgr localhost --port 8080 --lf_user lanforge --lf_password lanforge \\ + --instance_name rvr-instance --config_name test_con --upstream 1.1.eth1 \\ + --dut RootAP --duration 15s --station 1.1.wlan0 \\ + --download_speed 85% --upload_speed 56Kbps \\ + --raw_line 'pkts: MTU' \\ + --raw_line 'directions: DUT Transmit' \\ + --raw_line 'traffic_types: TCP' \\ + --test_rig Ferndale-Mesh-01 --pull_report \\ + --raw_line 'attenuator: 1.1.1040' \\ + --raw_line 'attenuations: 0..+50..950' \\ + --raw_line 'attenuator_mod: 3' \\ + --pull_report \\ + --local_lf_report_dir /tmp/rvr-report \\ + --raw_line 'notes0: my rvr notes' \\ + --raw_line 'notes1: are here.' \\ + --raw_line 'rvr_bringup_wait: 30000' \\ + --raw_line 'first_byte_wait: 30000' + """ ) @@ -276,6 +294,7 @@ def main(): config_name=args.config_name, upstream=args.upstream, pull_report=args.pull_report, + local_lf_report_dir = args.local_lf_report_dir, load_old_cfg=args.load_old_cfg, download_speed=args.download_speed, upload_speed=args.upload_speed,