mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-10-30 18:27:53 +00:00
rvr: Add local_lf_report_dir argument.
Untested as of now. Signed-off-by: Ben Greear <greearb@candelatech.com>
This commit is contained in:
@@ -124,7 +124,7 @@ class RvrTest(cvtest):
|
||||
lf_host="localhost",
|
||||
lf_port=8080,
|
||||
ssh_port=22,
|
||||
local_path="",
|
||||
local_lf_report_dir="",
|
||||
graph_groups=None,
|
||||
lf_user="lanforge",
|
||||
lf_password="lanforge",
|
||||
@@ -167,8 +167,8 @@ class RvrTest(cvtest):
|
||||
self.raw_lines_file = raw_lines_file
|
||||
self.sets = sets
|
||||
self.ssh_port = ssh_port
|
||||
self.local_path = local_path
|
||||
self.graph_groups = graph_groups
|
||||
self.local_lf_report_dir = local_lf_report_dir
|
||||
|
||||
def setup(self):
|
||||
# Nothing to do at this time.
|
||||
@@ -212,7 +212,7 @@ class RvrTest(cvtest):
|
||||
self.create_and_run_test(self.load_old_cfg, self.test_name, self.instance_name,
|
||||
self.config_name, self.sets,
|
||||
self.pull_report, self.lf_host, self.lf_user, self.lf_password,
|
||||
cv_cmds, ssh_port=self.ssh_port, local_lf_report_dir=self.local_path,
|
||||
cv_cmds, ssh_port=self.ssh_port, local_lf_report_dir=self.local_lf_report_dir,
|
||||
graph_groups_file=self.graph_groups)
|
||||
self.rm_text_blob(self.config_name, blob_test) # To delete old config with same name
|
||||
|
||||
@@ -262,6 +262,7 @@ def main():
|
||||
help="Specify duration of each traffic run")
|
||||
parser.add_argument("--graph_groups", help="File to save graph_groups to", default=None)
|
||||
parser.add_argument("--report_dir", default="")
|
||||
parser.add_argument("--local_lf_report_dir", help="--local_lf_report_dir <where to pull reports to> default '' put where dataplane script run from",default="")
|
||||
|
||||
args = parser.parse_args()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user