commit f900561550966b0d76936a292f658e16a97c1c00
Author: Rodolfo Alonso Hernandez <email address hidden>
Date: Mon Feb 17 10:28:12 2020 +0000
Set a default IP route metric in ip_lib.list_ip_routes
By default, if no metric is defined, the kernel interprets the
highest value (0).
The current implementation, using pyroute2, is a translation from
the CLI command "ip route". This command uses the netlink API to
communicate with the kernel. In IPv6, when the metric value is not
set is translated as 1024 as default [1].
Reviewed: https:/ /review. opendev. org/722384 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=f9005615509 66b0d76936a292f 658e16a97c1c00
Committed: https:/
Submitter: Zuul
Branch: stable/train
commit f900561550966b0 d76936a292f658e 16a97c1c00
Author: Rodolfo Alonso Hernandez <email address hidden>
Date: Mon Feb 17 10:28:12 2020 +0000
Set a default IP route metric in ip_lib. list_ip_ routes
By default, if no metric is defined, the kernel interprets the
highest value (0).
The current implementation, using pyroute2, is a translation from
the CLI command "ip route". This command uses the netlink API to
communicate with the kernel. In IPv6, when the metric value is not
set is translated as 1024 as default [1].
[1]https:/ /access. redhat. com/solutions/ 3659171
Change-Id: I0c5f9e320bbbf3 14a2d6a22c515bf 903de84cdaf 2d9956175ce6d3c e1b1abb9a0)
Related-Bug: #1855759
(cherry picked from commit 7593f95a741aec6