X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=GPL%2Ftraffic_profiles%2Ftrex%2Fprofile_trex_astf_base_class.py;h=f1d291105fcb9bf21ee82f52fd1fb556f633dbb1;hb=9f35c00b6df316585dec0664ad761dced5c2c9e8;hp=ed28ccbb78b3fd2d83da62ea0d2c66afed712d2f;hpb=38ba3408ef77161b61cd4be702d0c6e8fc36f8e5;p=csit.git diff --git a/GPL/traffic_profiles/trex/profile_trex_astf_base_class.py b/GPL/traffic_profiles/trex/profile_trex_astf_base_class.py index ed28ccbb78..f1d291105f 100644 --- a/GPL/traffic_profiles/trex/profile_trex_astf_base_class.py +++ b/GPL/traffic_profiles/trex/profile_trex_astf_base_class.py @@ -71,7 +71,7 @@ class TrafficProfileBaseClass: # TODO: Add support for IMIX frame size; # use random.randrange(0, len(self.STREAM_TABLE[self.framesize])) ? if not required_length: - required_length = self.framesize + required_length = self.framesize return str(choices(ascii_letters, k=required_length - current_length)) @@ -123,7 +123,7 @@ class TrafficProfileBaseClass: """ self.framesize = kwargs[u"framesize"] self._pcap_dir = kwargs.get( - u"pcap_dir",u"/opt/trex-core-2.73/scripts/avl" + u"pcap_dir",u"/opt/trex-core-2.88/scripts/avl" ) return self.create_profile()