diff options
author | Vratko Polak <vrpolak@cisco.com> | 2024-05-31 14:23:38 +0200 |
---|---|---|
committer | Vratko Polak <vrpolak@cisco.com> | 2024-05-31 14:23:38 +0200 |
commit | 3151535b07b7602e73925224250670af9449db68 (patch) | |
tree | 089cd6fcf5e274f7df5feaa021350814fb080b1c /GPL/traffic_profiles/trex/trex-stl-ethip4-ip4dst-rnd10000-6p.py | |
parent | e66952b110969a1f0d2369847c39953197d57734 (diff) |
feat(profiles): Do not share seeds between streams
Avoiding any predictable memory access patterns
is more important than similarity between 2p and 6p profiles.
+ Seed values now match parts of IP source address.
Change-Id: Ib1830cf9d3e7b329e54de19a92ecea77c8baeeb5
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
Diffstat (limited to 'GPL/traffic_profiles/trex/trex-stl-ethip4-ip4dst-rnd10000-6p.py')
-rw-r--r-- | GPL/traffic_profiles/trex/trex-stl-ethip4-ip4dst-rnd10000-6p.py | 10 |
1 files changed, 5 insertions, 5 deletions
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 34ca59fe84..58363b9811 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 @@ -1,4 +1,4 @@ -# Copyright (c) 2023 Cisco and/or its affiliates. +# Copyright (c) 2024 Cisco and/or its affiliates. # # SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later # @@ -54,14 +54,14 @@ class TrafficStreams(TrafficStreamsScaleClass): "src_start_ip": "30.0.0.1", "dst_start_ip": "40.0.0.0", "dst_end_ip": "40.0.39.15", - "seed": 2 + "seed": 3 }, # Direction W --> E: { "src_start_ip": "50.0.0.1", "dst_start_ip": "60.0.0.0", "dst_end_ip": "60.0.39.15", - "seed": 1 + "seed": 5 }, # Direction E --> W: { @@ -75,14 +75,14 @@ class TrafficStreams(TrafficStreamsScaleClass): "src_start_ip": "40.0.0.1", "dst_start_ip": "30.0.0.0", "dst_end_ip": "30.0.39.15", - "seed": 1 + "seed": 4 }, # Direction E --> W: { "src_start_ip": "60.0.0.1", "dst_start_ip": "50.0.0.0", "dst_end_ip": "50.0.39.15", - "seed": 2 + "seed": 6 } ] self.pkt_base = [] |