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/747626 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=49ae201b3e1 1117eca81d3297c 0fa2b4e99dbd65
Committed: https:/
Submitter: Zuul
Branch: stable/ussuri
commit 49ae201b3e11117 eca81d3297c0fa2 b4e99dbd65
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