Code Review
/
nfvbench.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
NFVBENCH-25 Send run results to fluentd
[nfvbench.git]
/
nfvbench
/
traffic_gen
/
traffic_utils.py
diff --git
a/nfvbench/traffic_gen/traffic_utils.py
b/nfvbench/traffic_gen/traffic_utils.py
index
e5dc463
..
d3def42
100644
(file)
--- a/
nfvbench/traffic_gen/traffic_utils.py
+++ b/
nfvbench/traffic_gen/traffic_utils.py
@@
-39,9
+39,9
@@
def convert_rates(l2frame_size, rate, intf_speed):
return {
'initial_rate_type': initial_rate_type,
- 'rate_pps':
pps
,
+ 'rate_pps':
int(pps)
,
'rate_percent': load,
- 'rate_bps':
bps
+ 'rate_bps':
int(bps)
}