X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=nfvbench%2Ftraffic_gen%2Ftraffic_utils.py;h=d3def4277dfb0a8e03474e9ea441118e218d7ba9;hb=f6a699e63dae2bb5779bd757dc62217193139ad9;hp=e5dc4635b22d8aabdba02fe782f467a1ab68f123;hpb=d6d77669fcb13c779d869929a95ec9e9474b3fcf;p=nfvbench.git diff --git a/nfvbench/traffic_gen/traffic_utils.py b/nfvbench/traffic_gen/traffic_utils.py index e5dc463..d3def42 100644 --- 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) }