neutron/neutron/tests/unit/agent/linux
Rodolfo Alonso Hernandez 0705699e60 "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.

Closes-Bug: #1899141

[1]https://review.opendev.org/#/c/747406/

Change-Id: I55a0f4341b328af52ea3bd758a72f633fbe3abcb
2020-10-15 15:49:05 +00:00
..
openvswitch_firewall Merge "Process ingress multicast traffic for 224.0.0.X separately" 2020-10-11 20:23:38 +00:00
__init__.py Empty files should not contain copyright or license 2014-10-20 00:50:32 +00:00
failing_process.py Keep reading stdout/stderr until after kill 2015-11-19 19:14:13 +02:00
test_bridge_lib.py Implement "BridgeDevice" with Pyroute2 2020-07-06 11:01:21 +00:00
test_daemon.py Remove the dependency on the "mock" package 2020-04-28 18:05:37 -04:00
test_dhcp.py Default dnsmasq --conf-file to /dev/null 2020-10-01 09:16:01 -04:00
test_external_process.py Remove the dependency on the "mock" package 2020-04-28 18:05:37 -04:00
test_interface.py Migrate "ethtool" to oslo.privsep 2020-07-07 17:45:54 +00:00
test_ip_conntrack.py Remove the dependency on the "mock" package 2020-04-28 18:05:37 -04:00
test_ip_lib.py "scope" conversion only just before pyroute2 method call 2020-10-15 15:49:05 +00:00
test_ipset_manager.py Remove the dependency on the "mock" package 2020-04-28 18:05:37 -04:00
test_iptables_firewall.py Fix iptables rules comments 2020-06-03 16:29:22 +00:00
test_iptables_manager.py metadata-ipv6: Router namespace 2020-08-31 13:02:49 +02:00
test_keepalived.py Add 'keepalived_use_no_track' config option 2020-08-13 17:15:29 +02:00
test_l3_tc_lib.py Remove the dependency on the "mock" package 2020-04-28 18:05:37 -04:00
test_pd.py Ensure fip ip rules deleted when fip removed 2020-08-18 20:39:10 +01:00
test_tc_lib.py Fix the wrong value for QoS rate conversion to bytes/s 2020-06-20 19:38:30 +00:00
test_utils.py Remove usage of six.PY2 2020-05-22 12:59:01 -04:00
test_xenapi_root_helper.py Remove the dependency on the "mock" package 2020-04-28 18:05:37 -04:00