Comment 2 for bug 1988037

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

Reviewed: https://review.opendev.org/c/openstack/neutron/+/854986
Committed: https://opendev.org/openstack/neutron/commit/1b8d794a359641f33928490e3a288e1ab49a61f7
Submitter: "Zuul (22348)"
Branch: master

commit 1b8d794a359641f33928490e3a288e1ab49a61f7
Author: Rodolfo Alonso Hernandez <email address hidden>
Date: Mon Aug 29 12:44:14 2022 +0200

    Format the protocol number to be passed to pyroute2

    When a new IP route is created, before passing the route protocol,
    find if it is a string and if this string is on the pyroute2 defined
    protocols. In this case, pass the protocol number.

    In the same way, when the IP route is returned, if the protocol is a
    number, convert it to the corresponding protocol string.

    Closes-Bug: #1988037
    Change-Id: I4ca66d86705a55b2b63083c229629c16b6136283