From 72d312651fbd011baffad2a3444866abb856c9ba Mon Sep 17 00:00:00 2001 From: imarom Date: Tue, 20 Dec 2016 16:43:17 +0200 Subject: trex-190 - Shutting down server and restarting with different config - console out of sync Signed-off-by: imarom --- .../trex_control_plane/stl/trex_stl_lib/trex_stl_client.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'scripts/automation') diff --git a/scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_client.py b/scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_client.py index a42247e7..4662768a 100755 --- a/scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_client.py +++ b/scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_client.py @@ -944,6 +944,7 @@ class STLClient(object): self.supported_cmds = sorted(rc.data()) # create ports + self.ports.clear() for port_id in range(self.system_info["port_count"]): info = self.system_info['ports'][port_id] @@ -3227,15 +3228,14 @@ class STLClient(object): parser = parsing_opts.gen_parser(self, "connect", self.connect_line.__doc__, - parsing_opts.PORT_LIST_WITH_ALL, parsing_opts.FORCE) - opts = parser.parse_args(line.split(), default_ports = self.get_all_ports()) + opts = parser.parse_args(line.split()) if not opts: return opts self.connect() - self.acquire(ports = opts.ports, force = opts.force) + self.acquire(force = opts.force) return RC_OK() -- cgit 1.2.3-korg