X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=blobdiff_plain;f=GPL%2Ftraffic_profiles%2Ftrex%2Ftrex-stl-ethip6-ip6dst100000-rnd.py;fp=GPL%2Ftraffic_profiles%2Ftrex%2Ftrex-stl-3n-ethip6-ip6dst100000.py;h=daa160d53acf833648300ad7b5467fcd34dc8140;hp=f78d98c64f7d1b6a4ae24a9ff693de69e14a3da9;hb=ad98ea70cf435d104b6a4f0090575e137660da77;hpb=216c68cc8b010642c4de21673b7d8e18006767e2 diff --git a/GPL/traffic_profiles/trex/trex-stl-3n-ethip6-ip6dst100000.py b/GPL/traffic_profiles/trex/trex-stl-ethip6-ip6dst100000-rnd.py similarity index 93% rename from GPL/traffic_profiles/trex/trex-stl-3n-ethip6-ip6dst100000.py rename to GPL/traffic_profiles/trex/trex-stl-ethip6-ip6dst100000-rnd.py index f78d98c64f..daa160d53a 100644 --- a/GPL/traffic_profiles/trex/trex-stl-3n-ethip6-ip6dst100000.py +++ b/GPL/traffic_profiles/trex/trex-stl-ethip6-ip6dst100000-rnd.py @@ -93,12 +93,14 @@ class TrafficStreams(TrafficStreamsBaseClass): # Direction 0 --> 1 vm1 = STLScVmRaw( [ - STLVmFlowVar( + STLVmFlowVarRepeatableRandom( name=u"ipv6_dst", min_value=base_p1, max_value=base_p1 + count_p1, size=8, - op=u"inc" + seed=1, + # Cycle length. TRex does not allow any higher value. + limit=(2**24 - 1) ), STLVmWrFlowVar( fv_name=u"ipv6_dst", @@ -110,12 +112,13 @@ class TrafficStreams(TrafficStreamsBaseClass): # Direction 1 --> 0 vm2 = STLScVmRaw( [ - STLVmFlowVar( + STLVmFlowVarRepeatableRandom( name=u"ipv6_dst", min_value=base_p2, max_value=base_p2 + count_p2, size=8, - op=u"inc" + seed=2, + limit=(2**24 - 1) ), STLVmWrFlowVar( fv_name=u"ipv6_dst",