Code Review
/
yardstick.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Merge "Adding new test case for prox Standalone L3FWD."
[yardstick.git]
/
yardstick
/
network_services
/
traffic_profile
/
rfc2544.py
diff --git
a/yardstick/network_services/traffic_profile/rfc2544.py
b/yardstick/network_services/traffic_profile/rfc2544.py
index
4b339c2
..
e33c437
100644
(file)
--- 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()])
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):
for size, weight in imix_dip.items()}
def _create_vm(self, packet_definition):