commit f3f2436d6db724126e5611d632b7d1efe309a2af
Author: Jakub Libosvar <email address hidden>
Date: Tue May 15 19:00:03 2018 +0000
py3: Fix ingress_bw_limit_for_dpdk_port() value conversion
Python 3 is not able to type int from string but max_bw_in_bytes is a
string in float format. This patch types first to float and then to int,
hence no ValueError is raised.
Reviewed: https:/ /review. openstack. org/568674 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=f3f2436d6db 724126e5611d632 b7d1efe309a2af
Committed: https:/
Submitter: Zuul
Branch: master
commit f3f2436d6db7241 26e5611d632b7d1 efe309a2af
Author: Jakub Libosvar <email address hidden>
Date: Tue May 15 19:00:03 2018 +0000
py3: Fix ingress_ bw_limit_ for_dpdk_ port() value conversion
Python 3 is not able to type int from string but max_bw_in_bytes is a
string in float format. This patch types first to float and then to int,
hence no ValueError is raised.
Change-Id: I7a527a58f79c14 51d8593330d433f 620cb0a4107
Closes-bug: #1771409