From 42afa885616f4def18f5f1f1ca303efdf742356f Mon Sep 17 00:00:00 2001 From: Yaroslav Brustinov Date: Wed, 24 Feb 2016 14:07:11 -0500 Subject: hltapi : add dst_mac vm; vlan mask variable now can be shared; add 2 more profiles; add consistent_random argument for same random sequence each time --- scripts/stl/hlt/hlt_imix_4rates.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'scripts/stl/hlt/hlt_imix_4rates.py') diff --git a/scripts/stl/hlt/hlt_imix_4rates.py b/scripts/stl/hlt/hlt_imix_4rates.py index 653c3876..f6bfdd30 100755 --- a/scripts/stl/hlt/hlt_imix_4rates.py +++ b/scripts/stl/hlt/hlt_imix_4rates.py @@ -2,6 +2,10 @@ from trex_stl_lib.trex_stl_hltapi import STLHltStream class STLS1(object): + ''' + Creating 4 streams Eth/IP/UDP with different size and rate (smallest with highest rate) + Each stream will get rate_pps * his ratio / sum of ratios + ''' def create_streams (self, direction = 0): return STLHltStream(length_mode = 'imix', rate_pps = 2, -- cgit 1.2.3-korg