From a77b374997205ff6639a083b48532717b7897afb Mon Sep 17 00:00:00 2001 From: imarom Date: Tue, 6 Dec 2016 10:54:21 +0200 Subject: breakage to flow ctrl - fixed Signed-off-by: imarom --- scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_port.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') 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')} -- cgit 1.2.3-korg