commit 0705699e6072f0862cee7749de7f7633ecc9dcfd
Author: Rodolfo Alonso Hernandez <email address hidden>
Date: Fri Oct 9 13:26:33 2020 +0000
"scope" conversion only just before pyroute2 method call
In "IpAddrCommand.list" method, the "scope" parameter is a string
("link", "site", "global" or "host"). This method will retrieve all
devices with an IP address calling "ip_lib.get_devices_with_ip".
Since [1], "ip_lib.get_devices_with_ip" makes the conversion of
"scope" string parameter to pyroute2 format (see
"pyroute2.netlink.rtnl.rtscopes"). The list command should skip then
the previous conversion.
Reviewed: https:/ /review. opendev. org/757107 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=0705699e607 2f0862cee7749de 7f7633ecc9dcfd
Committed: https:/
Submitter: Zuul
Branch: master
commit 0705699e6072f08 62cee7749de7f76 33ecc9dcfd
Author: Rodolfo Alonso Hernandez <email address hidden>
Date: Fri Oct 9 13:26:33 2020 +0000
"scope" conversion only just before pyroute2 method call
In "IpAddrCommand. list" method, the "scope" parameter is a string get_devices_ with_ip" .
("link", "site", "global" or "host"). This method will retrieve all
devices with an IP address calling "ip_lib.
Since [1], "ip_lib. get_devices_ with_ip" makes the conversion of netlink. rtnl.rtscopes" ). The list command should skip then
"scope" string parameter to pyroute2 format (see
"pyroute2.
the previous conversion.
Closes-Bug: #1899141
[1]https:/ /review. opendev. org/#/c/ 747406/
Change-Id: I55a0f4341b328a f52ea3bd758a72f 633fbe3abcb