When the ip filtering started happening in the compute API code originally, we always returned all of the matches:
https://github.com/openstack/nova/commit/ae781ee97947c33d6d43e4c21df4f338c875bf1c
That was regressed about 2 years ago here:
https://github.com/openstack/nova/commit/8fc7eee58ebd929dda75e467f93c381091da7ace
Where it short-circuits and only returns the first match. So as far as latent behavior is concerned, I think we could go back to returning all matches since it was a very old regression to begin with (regressed in kilo).
When the ip filtering started happening in the compute API code originally, we always returned all of the matches:
https:/ /github. com/openstack/ nova/commit/ ae781ee97947c33 d6d43e4c21df4f3 38c875bf1c
That was regressed about 2 years ago here:
https:/ /github. com/openstack/ nova/commit/ 8fc7eee58ebd929 dda75e467f93c38 1091da7ace
Where it short-circuits and only returns the first match. So as far as latent behavior is concerned, I think we could go back to returning all matches since it was a very old regression to begin with (regressed in kilo).