diff options
author | 2016-03-03 17:14:28 +0200 | |
---|---|---|
committer | 2016-03-03 17:14:28 +0200 | |
commit | 0a10805acc189a36eecb4d49b858bd911bc45f4e (patch) | |
tree | 05ab3e32da5a284c50b2b186be2a7857bb364382 /scripts/automation/trex_control_plane/stl/examples/stl_imix.py | |
parent | 951a503356fd359407a8fae791b75fa8881dc04c (diff) | |
parent | 2760d0eef3076580f3d112c2e754e108f6028dc7 (diff) |
Merge Console merge
Diffstat (limited to 'scripts/automation/trex_control_plane/stl/examples/stl_imix.py')
-rw-r--r-- | scripts/automation/trex_control_plane/stl/examples/stl_imix.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/scripts/automation/trex_control_plane/stl/examples/stl_imix.py b/scripts/automation/trex_control_plane/stl/examples/stl_imix.py index e3c01ca9..cc7691a3 100644 --- a/scripts/automation/trex_control_plane/stl/examples/stl_imix.py +++ b/scripts/automation/trex_control_plane/stl/examples/stl_imix.py @@ -30,9 +30,10 @@ def imix_test (): # map ports - identify the routes table = stl_map_ports(c) - print "Mapped ports to sides {0} <--> {1}".format(table['dir'][0], table['dir'][1]) - dir_0 = table['dir'][0] - dir_1 = table['dir'][1] + dir_0 = [x[0] for x in table['bi']] + dir_1 = [x[1] for x in table['bi']] + + print "Mapped ports to sides {0} <--> {1}".format(dir_0, dir_1) # load IMIX profile profile = STLProfile.load_py('../../../../stl/imix.py') |