summaryrefslogtreecommitdiffstats
path: root/scripts/stl
diff options
context:
space:
mode:
authorimarom <imarom@cisco.com>2016-09-27 09:08:41 +0300
committerimarom <imarom@cisco.com>2016-09-27 09:23:47 +0300
commitffff2512ebbd65773a784565ce78d51d2ceb9a8d (patch)
treed6aae90ae98a1016168b829512de34157af4c32e /scripts/stl
parent1e6b2bf6001275bdd2ab0691f335bbb7966bf619 (diff)
fix regression issues with step/init values
TODO: random limit currently does not support limit less than core count - it is possible to solve this by giving redundant cores the same seed and limit (currently it is blocked)
Diffstat (limited to 'scripts/stl')
-rw-r--r--scripts/stl/udp_1pkt_repeat_random.py2
-rw-r--r--scripts/stl/yaml/imix_1pkt_vm_minus.yaml2
2 files changed, 2 insertions, 2 deletions
diff --git a/scripts/stl/udp_1pkt_repeat_random.py b/scripts/stl/udp_1pkt_repeat_random.py
index cdbf976f..860970ed 100644
--- a/scripts/stl/udp_1pkt_repeat_random.py
+++ b/scripts/stl/udp_1pkt_repeat_random.py
@@ -26,7 +26,7 @@ class STLS1(object):
min_value="48.0.0.1",
max_value="48.0.0.255",
size=4,
- limit=5, seed=0x1235),
+ limit=16, seed=0x1235),
STLVmWrFlowVar (fv_name="ip_src", pkt_offset= "IP.src" ), # write ip to packet IP.src
STLVmWrFlowVar (fv_name="ip_dst", pkt_offset= "IP.dst" ), # write ip to packet IP.dst
diff --git a/scripts/stl/yaml/imix_1pkt_vm_minus.yaml b/scripts/stl/yaml/imix_1pkt_vm_minus.yaml
index 6d5345df..a8bd3b0f 100644
--- a/scripts/stl/yaml/imix_1pkt_vm_minus.yaml
+++ b/scripts/stl/yaml/imix_1pkt_vm_minus.yaml
@@ -13,7 +13,7 @@
vm:
instructions: [
{
- "init_value" : 500,
+ "init_value" : 1000,
"max_value" : 75000,
"min_value" : 1000,
"name" : "l3_src",