FIX: Latency stream not using VM transformation 33/19533/3
authorPeter Mikus <pmikus@cisco.com>
Mon, 13 May 2019 11:35:32 +0000 (11:35 +0000)
committerPeter Mikus <pmikus@cisco.com>
Mon, 13 May 2019 13:11:46 +0000 (13:11 +0000)
Change-Id: Ibda7467dac7775427a8edafc6fa76f936d15d272
Signed-off-by: Peter Mikus <pmikus@cisco.com>
resources/traffic_profiles/trex/profile_trex_stateless_base_class.py

index a6cb974..913c3e1 100755 (executable)
@@ -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

©2016 FD.io a Linux Foundation Collaborative Project. All Rights Reserved.
Linux Foundation is a registered trademark of The Linux Foundation. Linux is a registered trademark of Linus Torvalds.
Please see our privacy policy and terms of use.