Add and delete multiple ip addresses in one priv call
Created new add_ip_addresses privileged function
which takes an iterable of cidrs and adds them
in one privileged call. This is so we dont have to
take on additional priv overhead when calling
add_ip_address in a loop.
For parity, performed the same change on the
delete_ip_address function.
Reviewed: https:/ /review. opendev. org/c/openstack /neutron/ +/855677 /opendev. org/openstack/ neutron/ commit/ 81980146cbdcc42 d2398f4e777e659 fc59c3b55f
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit 81980146cbdcc42 d2398f4e777e659 fc59c3b55f
Author: Miro Tomaska <email address hidden>
Date: Fri Sep 2 10:26:11 2022 -0500
Add and delete multiple ip addresses in one priv call
Created new add_ip_addresses privileged function ip_address function.
which takes an iterable of cidrs and adds them
in one privileged call. This is so we dont have to
take on additional priv overhead when calling
add_ip_address in a loop.
For parity, performed the same change on the
delete_
Closes-Bug: #1987281 057712453cb249a ba34b684a21
Partial-Bug: #1981113
Change-Id: Ib1278af20c3b3b