From 671e6950abc396d3409fa521f1a3e0488b05bfb2 Mon Sep 17 00:00:00 2001 From: pmikus Date: Thu, 16 Nov 2023 08:29:28 +0000 Subject: fix(trex): Random Traffic Profiles Signed-off-by: pmikus Change-Id: I1d6d32cf95fc518e5095c475c050fe626df8041a (cherry picked from commit f1bd5e0d95cbedee51cb8f5b0fc7dfd67c84cb3f) --- GPL/traffic_profiles/trex/trex-stl-ethip4-ip4dst-rnd10000-2p.py | 2 +- GPL/traffic_profiles/trex/trex-stl-ethip4-ip4dst-rnd10000-6p.py | 2 +- GPL/traffic_profiles/trex/trex-stl-ethip4-ip4dst-rnd100000-2p.py | 2 +- GPL/traffic_profiles/trex/trex-stl-ethip4-ip4dst-rnd100000-6p.py | 2 +- GPL/traffic_profiles/trex/trex-stl-ethip4-ip4dst-rnd1000000-2p.py | 2 +- GPL/traffic_profiles/trex/trex-stl-ethip4-ip4dst-rnd1000000-6p.py | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/GPL/traffic_profiles/trex/trex-stl-ethip4-ip4dst-rnd10000-2p.py b/GPL/traffic_profiles/trex/trex-stl-ethip4-ip4dst-rnd10000-2p.py index fb96ed89b2..1149a0403b 100644 --- a/GPL/traffic_profiles/trex/trex-stl-ethip4-ip4dst-rnd10000-2p.py +++ b/GPL/traffic_profiles/trex/trex-stl-ethip4-ip4dst-rnd10000-2p.py @@ -80,7 +80,7 @@ class TrafficStreams(TrafficStreamsScaleClass): self.pkt_vm.append( STLScVmRaw( [ - STLVmFlowVar( + STLVmFlowVarRepeatableRandom( name="dst", min_value=self.pkt_data[i]["dst_start_ip"], max_value=self.pkt_data[i]["dst_end_ip"], diff --git a/GPL/traffic_profiles/trex/trex-stl-ethip4-ip4dst-rnd10000-6p.py b/GPL/traffic_profiles/trex/trex-stl-ethip4-ip4dst-rnd10000-6p.py index 91226c5dfc..34ca59fe84 100644 --- a/GPL/traffic_profiles/trex/trex-stl-ethip4-ip4dst-rnd10000-6p.py +++ b/GPL/traffic_profiles/trex/trex-stl-ethip4-ip4dst-rnd10000-6p.py @@ -108,7 +108,7 @@ class TrafficStreams(TrafficStreamsScaleClass): self.pkt_vm.append( STLScVmRaw( [ - STLVmFlowVar( + STLVmFlowVarRepeatableRandom( name="dst", min_value=self.pkt_data[i]["dst_start_ip"], max_value=self.pkt_data[i]["dst_end_ip"], diff --git a/GPL/traffic_profiles/trex/trex-stl-ethip4-ip4dst-rnd100000-2p.py b/GPL/traffic_profiles/trex/trex-stl-ethip4-ip4dst-rnd100000-2p.py index fea98bce6f..955e394c56 100644 --- a/GPL/traffic_profiles/trex/trex-stl-ethip4-ip4dst-rnd100000-2p.py +++ b/GPL/traffic_profiles/trex/trex-stl-ethip4-ip4dst-rnd100000-2p.py @@ -80,7 +80,7 @@ class TrafficStreams(TrafficStreamsScaleClass): self.pkt_vm.append( STLScVmRaw( [ - STLVmFlowVar( + STLVmFlowVarRepeatableRandom( name="dst", min_value=self.pkt_data[i]["dst_start_ip"], max_value=self.pkt_data[i]["dst_end_ip"], diff --git a/GPL/traffic_profiles/trex/trex-stl-ethip4-ip4dst-rnd100000-6p.py b/GPL/traffic_profiles/trex/trex-stl-ethip4-ip4dst-rnd100000-6p.py index 850fb53bc9..23de4e48a3 100644 --- a/GPL/traffic_profiles/trex/trex-stl-ethip4-ip4dst-rnd100000-6p.py +++ b/GPL/traffic_profiles/trex/trex-stl-ethip4-ip4dst-rnd100000-6p.py @@ -108,7 +108,7 @@ class TrafficStreams(TrafficStreamsScaleClass): self.pkt_vm.append( STLScVmRaw( [ - STLVmFlowVar( + STLVmFlowVarRepeatableRandom( name="dst", min_value=self.pkt_data[i]["dst_start_ip"], max_value=self.pkt_data[i]["dst_end_ip"], diff --git a/GPL/traffic_profiles/trex/trex-stl-ethip4-ip4dst-rnd1000000-2p.py b/GPL/traffic_profiles/trex/trex-stl-ethip4-ip4dst-rnd1000000-2p.py index 68fcf63f3d..3a03303e60 100644 --- a/GPL/traffic_profiles/trex/trex-stl-ethip4-ip4dst-rnd1000000-2p.py +++ b/GPL/traffic_profiles/trex/trex-stl-ethip4-ip4dst-rnd1000000-2p.py @@ -80,7 +80,7 @@ class TrafficStreams(TrafficStreamsScaleClass): self.pkt_vm.append( STLScVmRaw( [ - STLVmFlowVar( + STLVmFlowVarRepeatableRandom( name="dst", min_value=self.pkt_data[i]["dst_start_ip"], max_value=self.pkt_data[i]["dst_end_ip"], diff --git a/GPL/traffic_profiles/trex/trex-stl-ethip4-ip4dst-rnd1000000-6p.py b/GPL/traffic_profiles/trex/trex-stl-ethip4-ip4dst-rnd1000000-6p.py index 2e372a588b..141a5f2123 100644 --- a/GPL/traffic_profiles/trex/trex-stl-ethip4-ip4dst-rnd1000000-6p.py +++ b/GPL/traffic_profiles/trex/trex-stl-ethip4-ip4dst-rnd1000000-6p.py @@ -108,7 +108,7 @@ class TrafficStreams(TrafficStreamsScaleClass): self.pkt_vm.append( STLScVmRaw( [ - STLVmFlowVar( + STLVmFlowVarRepeatableRandom( name="dst", min_value=self.pkt_data[i]["dst_start_ip"], max_value=self.pkt_data[i]["dst_end_ip"], -- cgit 1.2.3-korg