diff options
author | 2016-04-14 17:40:11 +0300 | |
---|---|---|
committer | 2016-04-14 17:40:11 +0300 | |
commit | 9a9c50169c7bef5d58d1f912eb6f45029c1b6e5c (patch) | |
tree | 99505ef0cba22efce99c1fc9657f4aa8f92921de /scripts/automation/trex_control_plane/stl | |
parent | 501fb3b44f14e9c0d40a63bd8b47200b01e50be9 (diff) |
quick fix for console
partial ports still not work well
Diffstat (limited to 'scripts/automation/trex_control_plane/stl')
-rwxr-xr-x | scripts/automation/trex_control_plane/stl/console/trex_console.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/automation/trex_control_plane/stl/console/trex_console.py b/scripts/automation/trex_control_plane/stl/console/trex_console.py index a095541e..e5539b2b 100755 --- a/scripts/automation/trex_control_plane/stl/console/trex_console.py +++ b/scripts/automation/trex_control_plane/stl/console/trex_console.py @@ -225,7 +225,7 @@ class TRexConsole(TRexGeneralCmd): print(format_text("\n'{0}' cannot be executed on offline mode\n".format(func_name), 'bold')) return - if inst.stateless_client.is_all_ports_acquired(): + if not inst.stateless_client.get_acquired_ports(): print(format_text("\n'{0}' cannot be executed on read only mode\n".format(func_name), 'bold')) return |