Merge "Add 8 port topology file for agnostic vnf with ixia tg"
[yardstick.git] / yardstick / network_services / traffic_profile / rfc2544.py
index 4b339c2..e33c437 100644 (file)
@@ -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):