diff options
author | Yaroslav Brustinov <ybrustin@cisco.com> | 2016-02-29 13:57:59 +0200 |
---|---|---|
committer | Yaroslav Brustinov <ybrustin@cisco.com> | 2016-02-29 13:57:59 +0200 |
commit | b85911614786e4b507d31fe38e1aaa9e4fe0136c (patch) | |
tree | 89e48fac270ef3f53c3cb6cac01a21b30a67648f | |
parent | 584cc84966c0980bb22197f633fb08e3ddcac7bf (diff) |
yet another limitation of 8 ports
-rw-r--r-- | scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_client.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 3cfef087..50566853 100644 --- 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 @@ -163,7 +163,7 @@ class AsyncEventHandler(object): # filter the values per port and general for key, value in dump_data.iteritems(): # match a pattern of ports - m = re.search('(.*)\-([0-8])', key) + m = re.search('(.*)\-(\d+)', key) if m: port_id = int(m.group(2)) field_name = m.group(1) |