neutron/neutron/agent/linux
Rodolfo Alonso Hernandez cca2b8de2c Fix "_get_sg_members" method
Since [1], the RPC method "security_group_info_for_devices" returns
not only the IP address but a list with the IP and the MAC addresses.
The returned blob is like this:
  {sg_id: {'IPv4': [[ip1, mac1], [ip2, mac2], 'IPv6': [...]}, ...}

The method "_get_sg_members" only needs the IP address, the MAC
address should be discarded.

NOTE: this bug was detected when testing
"neutron-tempest-plugin-scenario-linuxbridge" CI job with
"enable_ipset" set to False. By default, this value is set to
True (it is more efficient). In order to properly test this
patch, I pushed [2], creating a CI job disabling this option.

To avoid overpopulating the Neutron CI, this job is not going
to be added to the check gate (maybe to the periodic CI tasks).

[1]https://review.opendev.org/q/I6cb2ba05fa3337be46eb01f2d9f869efa41e4db6
[2]https://review.opendev.org/c/openstack/neutron/+/783103

Change-Id: Ia5e899a4133a0952be8f607a61282e71fb0545d1
Closes-Bug: #1922127
2021-04-06 12:54:26 +00:00
..
openvswitch_firewall Merge "[OVS FW] Allow egress ICMPv6 only for know addresses" 2021-02-26 20:19:12 +00:00
__init__.py Empty files should not contain copyright or license 2014-10-20 00:50:32 +00:00
bridge_lib.py Implement "FdbInterface" with Pyroute2 2020-12-24 17:00:06 +00:00
daemon.py Remove "six" library 2020-07-28 16:55:52 +00:00
dhcp.py Trivial: check if ipv6 is available for IptablesManager 2021-03-03 13:48:25 +01:00
dibbler.py Remove "six" library 2020-07-28 16:55:52 +00:00
external_process.py Revert "Implement "kill" method using os.kill()" 2021-03-25 22:05:58 +00:00
interface.py [L3][HA] Retry when setting HA router GW status. 2021-03-02 10:45:50 +00:00
ip_conntrack.py Merge "Remove rootwrap execution (5)" 2021-02-25 20:47:55 +00:00
ip_lib.py Replace "ip route" command in "dvr_local_router" 2021-03-15 16:05:28 +00:00
ipset_manager.py Remove rootwrap execution (5) 2021-02-19 08:47:17 +00:00
iptables_comments.py Iptables firewall driver adds forward rules for trusted ports 2018-03-06 10:13:44 +01:00
iptables_firewall.py Fix "_get_sg_members" method 2021-04-06 12:54:26 +00:00
iptables_manager.py Remove rootwrap execution (4) 2021-02-08 10:05:51 +00:00
keepalived.py Revert "Implement "kill" method using os.kill()" 2021-03-25 22:05:58 +00:00
l3_tc_lib.py Remove rootwrap execution (1) 2021-02-06 16:22:43 +00:00
of_monitor.py OpenFlow monitor 2019-11-20 18:00:13 +00:00
pd.py Merge "Improve terminology in the Neutron tree" 2020-08-28 14:06:18 +00:00
pd_driver.py Remove usage of six.add_metaclass 2020-05-21 14:41:18 -04:00
ra.py Remove more empty lines in ipv6 ra conf. 2020-09-30 11:02:02 +08:00
tc_lib.py Fix the wrong value for QoS rate conversion to bytes/s 2020-06-20 19:38:30 +00:00
utils.py Revert "Implement "kill" method using os.kill()" 2021-03-25 22:05:58 +00:00