Comment 2 for bug 1771409

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (master)

Reviewed: https://review.openstack.org/568674
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=f3f2436d6db724126e5611d632b7d1efe309a2af
Submitter: Zuul
Branch: master

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.

    Change-Id: I7a527a58f79c1451d8593330d433f620cb0a4107
    Closes-bug: #1771409