From 4bd2a409e6409f703005b3ccf2603b9db19db9b0 Mon Sep 17 00:00:00 2001 From: David Shrewsbury Date: Wed, 21 Sep 2016 09:57:02 -0400 Subject: [PATCH] Correct reuse_fips param to reuse_ips (#4939) This new parameter was incorrectly named. Fixing to match the expected name in the shade library. --- cloud/openstack/os_server.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cloud/openstack/os_server.py b/cloud/openstack/os_server.py index e6c986486e7..ec3b4e83ac1 100644 --- a/cloud/openstack/os_server.py +++ b/cloud/openstack/os_server.py @@ -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=[