aboutsummaryrefslogtreecommitdiffstats
path: root/resources
diff options
context:
space:
mode:
authorPeter Mikus <pmikus@cisco.com>2019-05-13 11:35:32 +0000
committerPeter Mikus <pmikus@cisco.com>2019-05-13 13:11:46 +0000
commitfdb00e2552c03c33a8eb73b72cd73fe29d055265 (patch)
treedeb8505273b1e8d36d2785e4fbdb408501523fc0 /resources
parentc1356fb4855e23d6c939c14045a63483eba01628 (diff)
FIX: Latency stream not using VM transformation
Change-Id: Ibda7467dac7775427a8edafc6fa76f936d15d272 Signed-off-by: Peter Mikus <pmikus@cisco.com>
Diffstat (limited to 'resources')
-rwxr-xr-xresources/traffic_profiles/trex/profile_trex_stateless_base_class.py10
1 files changed, 4 insertions, 6 deletions
diff --git a/resources/traffic_profiles/trex/profile_trex_stateless_base_class.py b/resources/traffic_profiles/trex/profile_trex_stateless_base_class.py
index a6cb97485a..913c3e19cf 100755
--- a/resources/traffic_profiles/trex/profile_trex_stateless_base_class.py
+++ b/resources/traffic_profiles/trex/profile_trex_stateless_base_class.py
@@ -130,20 +130,18 @@ class TrafficStreamsBaseClass(object):
# Direction 0 --> 1
pkt_a = STLPktBuilder(
- pkt=base_pkt_a / self._gen_payload(payload_len),
- vm=vm1)
+ pkt=base_pkt_a / self._gen_payload(payload_len), vm=vm1)
# Direction 1 --> 0
pkt_b = STLPktBuilder(
- pkt=base_pkt_b / self._gen_payload(payload_len),
- vm=vm2)
+ pkt=base_pkt_b / self._gen_payload(payload_len), vm=vm2)
# Packets for latency measurement:
# Direction 0 --> 1
pkt_lat_a = STLPktBuilder(
- pkt=base_pkt_a / self._gen_payload(payload_len))
+ pkt=base_pkt_a / self._gen_payload(payload_len), vm=vm1)
# Direction 1 --> 0
pkt_lat_b = STLPktBuilder(
- pkt=base_pkt_b / self._gen_payload(payload_len))
+ pkt=base_pkt_b / self._gen_payload(payload_len), vm=vm2)
# Create the streams:
# Direction 0 --> 1