X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=GPL%2Ftraffic_profiles%2Ftrex%2Ftrex-stl-ethip4-ip4dst-rnd1000000.py;fp=GPL%2Ftraffic_profiles%2Ftrex%2Ftrex-stl-ethip4-ip4dst-rnd1000000.py;h=4a315c72ed7fb8dc1c924bc4a6df10d4b1f56e5f;hb=eedb7dff222d2590ac2cb5a5e67dc7d90317f05c;hp=98d0c17ed71fcf543f06c6fbed7b6f39cdd7ac89;hpb=69264aed8d43f3c4a8342dd7584f80336108c879;p=csit.git diff --git a/GPL/traffic_profiles/trex/trex-stl-ethip4-ip4dst-rnd1000000.py b/GPL/traffic_profiles/trex/trex-stl-ethip4-ip4dst-rnd1000000.py index 98d0c17ed7..4a315c72ed 100644 --- a/GPL/traffic_profiles/trex/trex-stl-ethip4-ip4dst-rnd1000000.py +++ b/GPL/traffic_profiles/trex/trex-stl-ethip4-ip4dst-rnd1000000.py @@ -42,7 +42,7 @@ class TrafficStreams(TrafficStreamsBaseClass): """Stream profile.""" def __init__(self): - """Initialization and setting of streams" parameters.""" + """Initialization and setting of streams' parameters.""" super(TrafficStreamsBaseClass, self).__init__() @@ -66,21 +66,21 @@ class TrafficStreams(TrafficStreamsBaseClass): # Direction 0 --> 1 base_pkt_a = ( - Ether() / - IP( - src=self.p1_src_start_ip, - dst=self.p1_dst_start_ip, - proto=61 - ) + Ether() / + IP( + src=self.p1_src_start_ip, + dst=self.p1_dst_start_ip, + proto=61 + ) ) # Direction 1 --> 0 base_pkt_b = ( - Ether() / - IP( - src=self.p2_src_start_ip, - dst=self.p2_dst_start_ip, - proto=61 - ) + Ether() / + IP( + src=self.p2_src_start_ip, + dst=self.p2_dst_start_ip, + proto=61 + ) ) # Direction 0 --> 1 @@ -91,7 +91,8 @@ class TrafficStreams(TrafficStreamsBaseClass): min_value=self.p1_dst_start_ip, max_value=self.p1_dst_end_ip, size=4, - limit=1000000 + seed=1, + limit=(2**24 - 1) ), STLVmWrFlowVar( fv_name=u"dst", @@ -110,7 +111,8 @@ class TrafficStreams(TrafficStreamsBaseClass): min_value=self.p2_dst_start_ip, max_value=self.p2_dst_end_ip, size=4, - limit=1000000 + seed=2, + limit=(2**24 - 1) ), STLVmWrFlowVar( fv_name=u"dst",