X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=yardstick%2Fnetwork_services%2Ftraffic_profile%2Frfc2544.py;h=e33c437c9d04f8ced99d05174dd842e0446efdaa;hb=d8cfab0d902b2d3d1a4234551807df68ac0b6b66;hp=4b339c2edd8b5a64e2e30731f8a5e4ef90579f29;hpb=b0c8585051a523011bbf5afe7413fd8f65d01412;p=yardstick.git diff --git a/yardstick/network_services/traffic_profile/rfc2544.py b/yardstick/network_services/traffic_profile/rfc2544.py index 4b339c2ed..e33c437c9 100644 --- a/yardstick/network_services/traffic_profile/rfc2544.py +++ b/yardstick/network_services/traffic_profile/rfc2544.py @@ -197,7 +197,7 @@ class RFC2544Profile(trex_traffic_profile.TrexProfile): byte_total = sum([int(size) * weight for size, weight in imix_dip.items()]) - return {size: (int(size) * weight) / byte_total + return {size: (int(size) * weight * 100) / byte_total for size, weight in imix_dip.items()} def _create_vm(self, packet_definition):