Correct reuse_fips param to reuse_ips (#4939)

This new parameter was incorrectly named. Fixing to match the expected
name in the shade library.
reviewable/pr18780/r1
David Shrewsbury 8 years ago committed by Monty Taylor
parent b4f1d0d0c2
commit 4bd2a409e6

@ -185,7 +185,7 @@ options:
required: false
default: false
version_added: "2.2"
reuse_fips:
reuse_ips:
description:
- When I(auto_ip) is true and this option is true, the I(auto_ip) code
will attempt to re-use unassigned floating ips in the project before
@ -487,7 +487,7 @@ def _create_server(module, cloud):
boot_volume=module.params['boot_volume'],
boot_from_volume=module.params['boot_from_volume'],
terminate_volume=module.params['terminate_volume'],
reuse_fips=module.params['reuse_fips'],
reuse_ips=module.params['reuse_ips'],
wait=module.params['wait'], timeout=module.params['timeout'],
**bootkwargs
)
@ -588,7 +588,7 @@ def main():
scheduler_hints = dict(default=None, type='dict'),
state = dict(default='present', choices=['absent', 'present']),
delete_fip = dict(default=False, type='bool'),
reuse_fips = dict(default=True, type='bool'),
reuse_ips = dict(default=True, type='bool'),
)
module_kwargs = openstack_module_kwargs(
mutually_exclusive=[

Loading…
Cancel
Save