From: Yaroslav Brustinov Date: Mon, 29 Feb 2016 11:57:59 +0000 (+0200) Subject: yet another limitation of 8 ports X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;h=b85911614786e4b507d31fe38e1aaa9e4fe0136c;p=trex.git yet another limitation of 8 ports --- 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)