mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-11-01 11:18:03 +00:00
test rig command and other improvements to automation
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
This commit is contained in:
@@ -138,7 +138,8 @@ class DataplaneTest(cv_test):
|
||||
raw_lines_file="",
|
||||
sets=[],
|
||||
graph_groups=None,
|
||||
report_dir=""
|
||||
report_dir="",
|
||||
test_rig=""
|
||||
):
|
||||
super().__init__(lfclient_host=lf_host, lfclient_port=lf_port)
|
||||
|
||||
@@ -166,6 +167,7 @@ class DataplaneTest(cv_test):
|
||||
self.report_dir = report_dir
|
||||
self.ssh_port = ssh_port
|
||||
self.local_path = local_path
|
||||
self.test_rig = test_rig
|
||||
|
||||
def setup(self):
|
||||
# Nothing to do at this time.
|
||||
@@ -200,6 +202,8 @@ class DataplaneTest(cv_test):
|
||||
cfg_options.append("duration: " + self.duration)
|
||||
if self.dut != "":
|
||||
cfg_options.append("selected_dut: " + self.dut)
|
||||
if self.test_rig != "":
|
||||
cfg_options.append("test_rig: " + self.test_rig)
|
||||
|
||||
# We deleted the scenario earlier, now re-build new one line at a time.
|
||||
|
||||
@@ -386,7 +390,8 @@ def main():
|
||||
raw_lines = args.raw_line,
|
||||
raw_lines_file = args.raw_lines_file,
|
||||
sets = args.set,
|
||||
graph_groups = args.graph_groups
|
||||
graph_groups = args.graph_groups,
|
||||
test_rig=args.test_rig
|
||||
)
|
||||
CV_Test.setup()
|
||||
CV_Test.run()
|
||||
|
||||
Reference in New Issue
Block a user