summaryrefslogtreecommitdiffstats
path: root/scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_port.py
diff options
context:
space:
mode:
authorimarom <imarom@cisco.com>2016-12-06 10:54:21 +0200
committerimarom <imarom@cisco.com>2016-12-06 10:54:21 +0200
commita77b374997205ff6639a083b48532717b7897afb (patch)
tree5e13a835675ac1399271ce395b24d091eba339e2 /scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_port.py
parent83bebb1940522a061648f3dc1df4f4a0791c9c26 (diff)
breakage to flow ctrl - fixed
Signed-off-by: imarom <imarom@cisco.com>
Diffstat (limited to 'scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_port.py')
-rw-r--r--scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_port.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_port.py b/scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_port.py
index ef74a85e..389a942b 100644
--- a/scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_port.py
+++ b/scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_port.py
@@ -675,7 +675,7 @@ class Port(object):
json_attr['led_status'] = {'on': kwargs.get('led_status')}
if kwargs.get('flow_ctrl_mode') is not None:
- json_attr['flow_ctrl_mode'] = {'on': kwargs.get('flow_ctrl_mode')}
+ json_attr['flow_ctrl_mode'] = {'mode': kwargs.get('flow_ctrl_mode')}
if kwargs.get('rx_filter_mode') is not None:
json_attr['rx_filter_mode'] = {'mode': kwargs.get('rx_filter_mode')}