commit 7593f95a741aec62d9956175ce6d3ce1b1abb9a0
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/708086 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=7593f95a741 aec62d9956175ce 6d3ce1b1abb9a0
Committed: https:/
Submitter: Zuul
Branch: master
commit 7593f95a741aec6 2d9956175ce6d3c e1b1abb9a0
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
Related-Bug: #1855759