Files
neutron/neutron
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
..
2021-04-06 12:54:26 +00:00
2021-03-29 15:28:51 +00:00
2021-02-06 16:23:03 +00:00
2020-07-28 16:55:52 +00:00
2020-10-11 07:22:44 +00:00
2020-07-28 16:55:52 +00:00
2020-07-28 16:55:52 +00:00
2021-04-06 12:54:26 +00:00
2020-05-22 12:59:01 -04:00
2020-05-21 14:41:18 -04:00