aboutsummaryrefslogtreecommitdiffstats
path: root/resources/traffic_profiles/trex/trex-sl-2n-ethip4-ip4dst-rnd10000.py
AgeCommit message (Collapse)AuthorFilesLines
2020-05-06Separate files needing GPL licenseVratko Polak1-127/+0
+ Keep apache license for now, until this is completed: https://wiki.fd.io/view/TSC/Relicensing_Procedure + Add utilities for switching license comment blocks. - They do not preserve attributes, so executable flag is lost. + Move the affected files to GPL/. + Update paths so files are executed from the new location. + Change the way scripts are started to do not require executable flag. + Employ OptionString when constructing longer command lines. + Move also PacketVerifier.py and TrafficScriptArg.py as they are linked with traffic scripts. + That means the two files are outside "resources" package tree now. + Added __init__.py files so relative imports work in new package tree. + Start traffic scripts as python modules to allow relative imports. + Once again needed because they are outside the default PYTHONPATH. Change-Id: Ieb135629e890adbaf5b79497570f3be25b746f9f Signed-off-by: Vratko Polak <vrpolak@cisco.com>
2020-04-16Do not set seeds in -rnd profilesVratko Polak1-4/+2
From trending it seems like TRex threads use thread-local PRNGs, resulting in multiple packets (one from each thread) for the same flow. Hopefully, without a seed set, each thread will pick a different seed. We are risking some threads will still pick the same seed occasionally, but I doubt TRex API has a better way to prevent this issue. Change-Id: Ie6ed42669d6e2463627760f89d2426d4e6bf0155 Signed-off-by: Vratko Polak <vrpolak@cisco.com>
2020-01-16Python3: Migration of files under traffic-profiles/trexBalaji Venkatraman1-25/+56
Change-Id: Iae16225d3d3daa4e1e9b177228fb89efe4aa5405 Signed-off-by: Balaji Venkatraman <balajiv@cisco.com>
2019-12-05Python3: IPv4 FIB scale tests with random flowsBalaji Venkatraman1-0/+98
Signed-off-by: Balaji Venkatraman <balajiv@cisco.com> Change-Id: Iadd9e8da655f3ccbd36167c1bbee37a774c3bc1f Signed-off-by: Balaji Venkatraman <balajiv@cisco.com>