This method is using ip_lib.get_devices_with_ip function to get
IP addresses with scope "link".
Unfortunatelly this method wasn't translating scope names to the pyrout2
values and due to that wasn't returning correct IP addresses.
Now this is fixed and correctl link local IPv6 addresses are returned.
Change-Id: Ia41c1bc627ad2ce89d658ff1fdedee802f6dfa15
Closes-Bug: #1892489
(cherry picked from commit a4e04a7f8be95295324a59c34e6a79c7973af1ee)
Reviewed: https:/ /review. opendev. org/747628 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=3f3e5d619f2 f8c3877b4bef8a1 73324fae938a30
Committed: https:/
Submitter: Zuul
Branch: stable/stein
commit 3f3e5d619f2f8c3 877b4bef8a17332 4fae938a30
Author: Slawek Kaplonski <email address hidden>
Date: Fri Aug 21 15:06:01 2020 +0200
Fix get_ipv6_llas method in the interface driver
This method is using ip_lib. get_devices_ with_ip function to get
IP addresses with scope "link".
Unfortunatelly this method wasn't translating scope names to the pyrout2
values and due to that wasn't returning correct IP addresses.
Now this is fixed and correctl link local IPv6 addresses are returned.
Change-Id: Ia41c1bc627ad2c e89d658ff1fdede e802f6dfa15 5324a59c34e6a79 c7973af1ee)
Closes-Bug: #1892489
(cherry picked from commit a4e04a7f8be9529