From d9e19ba46d441b8e208f223add5a612183e5157c Mon Sep 17 00:00:00 2001 From: imarom Date: Mon, 13 Feb 2017 08:43:39 +0200 Subject: TX feature - draft Signed-off-by: imarom --- scripts/automation/trex_control_plane/stl/console/trex_capture.py | 2 +- .../automation/trex_control_plane/stl/trex_stl_lib/trex_stl_client.py | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) (limited to 'scripts/automation/trex_control_plane') diff --git a/scripts/automation/trex_control_plane/stl/console/trex_capture.py b/scripts/automation/trex_control_plane/stl/console/trex_capture.py index b6943912..f3b7a3c5 100644 --- a/scripts/automation/trex_control_plane/stl/console/trex_capture.py +++ b/scripts/automation/trex_control_plane/stl/console/trex_capture.py @@ -31,7 +31,7 @@ class CaptureMonitorWriterStdout(CaptureMonitorWriter): # unicode arrows self.RX_ARROW = u'\u25c0\u2500\u2500' - self.TX_ARROW = u'\u25b6\u2500\u2500' + self.TX_ARROW = u'\u2500\u2500\u25b6' # decode issues with Python 2 if sys.version_info < (3,0): 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 e8feebbd..a3e04ab6 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 @@ -3271,10 +3271,6 @@ class STLClient(object): tx_ports = tx_ports if tx_ports is not None else [] rx_ports = rx_ports if rx_ports is not None else [] - # TODO: remove this when TX is implemented - if tx_ports: - raise STLError('TX port capturing is not yet implemented') - # check arguments tx_ports = self._validate_port_list(tx_ports, allow_empty = True) rx_ports = self._validate_port_list(rx_ports, allow_empty = True) -- cgit 1.2.3-korg