Code Review
/
csit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
bf8b760
)
fix(TrafficGenerator): correct tg_topology reverse
85/38885/1
author
Vratko Polak
<
[email protected]
>
Thu, 25 May 2023 08:10:56 +0000
(10:10 +0200)
committer
Peter Mikus
<
[email protected]
>
Thu, 25 May 2023 08:33:07 +0000
(08:33 +0000)
Change-Id: Ibef272705ea889d58bb9c5b69a8566f6e38de1d1
Signed-off-by: Vratko Polak <
[email protected]
>
(cherry picked from commit
06d9ceaaffd3183155610a60e4897ebbab64384e
)
resources/libraries/python/TrafficGenerator.py
patch
|
blob
|
history
diff --git
a/resources/libraries/python/TrafficGenerator.py
b/resources/libraries/python/TrafficGenerator.py
index
46c8b01
..
afb9388
100644
(file)
--- a/
resources/libraries/python/TrafficGenerator.py
+++ b/
resources/libraries/python/TrafficGenerator.py
@@
-332,7
+332,7
@@
class TrafficGenerator(AbstractMeasurer):
if2_pci = Topology().get_interface_pci_addr(self._node, tg_if2)
if min(if1_pci, if2_pci) != if1_pci:
self._ifaces_reordered = True
- tg_topology.
sort(reverse=True
)
+ tg_topology.
reverse(
)
TrexInitConfig.init_trex_startup_configuration(tg_node, tg_topology)
TrafficGenerator.startup_trex(tg_node, osi_layer, subtype=subtype)