Merge "Allow wait: false when auto_ip is false"

This commit is contained in:
Zuul
2024-10-31 15:53:55 +00:00
committed by Gerrit Code Review
2 changed files with 43 additions and 1 deletions

View File

@@ -1032,7 +1032,7 @@ class ServerModule(OpenStackModule):
def _create(self):
for k in ['auto_ip', 'floating_ips', 'floating_ip_pools']:
if self.params[k] is not None \
if self.params[k] \
and self.params['wait'] is False:
# floating ip addresses will only be added if
# we wait until the server has been created