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.
Reviewed: https:/ /review. opendev. org/c/openstack /neutron/ +/854986 /opendev. org/openstack/ neutron/ commit/ 1b8d794a359641f 33928490e3a288e 1ab49a61f7
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit 1b8d794a359641f 33928490e3a288e 1ab49a61f7
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 b2b63083c229629 c16b6136283
Change-Id: I4ca66d86705a55