aboutsummaryrefslogtreecommitdiffstats
path: root/resources/traffic_profiles
diff options
context:
space:
mode:
Diffstat (limited to 'resources/traffic_profiles')
-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