Veth pair "IFLA_LINK" populated since kernel 4.15.0-60-generic
Since kernel_version=4.15.0-60-generic, "iproute2" provides the veth
pair index, even if the pair interface is in other namespace. In
previous versions, the parameter 'IFLA_LINK' was not present. We need
to handle both cases
NOTE: this patch is merged in master combined with another bug
resolution [1] due to the existing problems in the CI. However, this
patch can be pushed alone in stable releases.
Reviewed: https:/ /review. opendev. org/680803 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=e0f498aae93 a70e93e7ffb0769 aed73893ab1d20
Committed: https:/
Submitter: Zuul
Branch: stable/stein
commit e0f498aae93a70e 93e7ffb0769aed7 3893ab1d20
Author: Rodolfo Alonso Hernandez <email address hidden>
Date: Wed Sep 4 09:00:42 2019 +0000
Veth pair "IFLA_LINK" populated since kernel 4.15.0-60-generic
Since kernel_ version= 4.15.0- 60-generic, "iproute2" provides the veth
pair index, even if the pair interface is in other namespace. In
previous versions, the parameter 'IFLA_LINK' was not present. We need
to handle both cases
NOTE: this patch is merged in master combined with another bug
resolution [1] due to the existing problems in the CI. However, this
patch can be pushed alone in stable releases.
Conflicts:
neutron/ tests/functiona l/privileged/ agent/linux/ test_ip_ lib.py
[1] https:/ /review. opendev. org/#/c/ 680001/
Change-Id: Id161423737189b f822716be953c0d b9c1f09589d 1c0de2ad66ddaa3 bbf73f20e3)
Closes-Bug: #1842482
(cherry picked from commit fc2a4becd04cf95