Commit Graph

15 Commits (a391dd952e74c7c6f17d5753da3bce1b3d62a200)

Author SHA1 Message Date
Monty Taylor 0e8ce4ad52
Rename a confusing variable
I had to read the two lines in question twice. That might just make me
dumb, but if I'm dumb, someone else might be too.
8 years ago
yfried-redhat 6b20645b40 Make os_floating_ip module idempotent
Current module fails when tries to assign floating-ips to server that
already have them and either fails or reports "changed=True" when no
ip was added

Removing floating-ip doesn't require address

Server name/id is enough to remove a floating ip.
8 years ago
Ghe Rivero c5430d0f92 Make add ip_floating_ip idempotent
Closes issue #1858
8 years ago
Brian Coca a75fa8df05 added missing version_added 9 years ago
Brian Coca d2c50688de Merge pull request #2814 from Shrews/purge_fip
Add purge option to os_floating_ip module
9 years ago
Brian Coca 0d1a154fac Merge pull request #2805 from Shrews/fix_os_server_exc
Fix OpenStack module failure output
9 years ago
David Shrewsbury 42ed6124d4 Add purge option to os_floating_ip module
Add the ability to completely delete a floating IP from the pool
when disassociating it from a server. When state is absent and
purge is true, the IP will be completely deleted. The default
keeps the current behavior, which is to only disassociate the IP
from the server.
9 years ago
David Shrewsbury e8abea25c7 Fix OpenStack module failure output
The exception message, when shade fails, will contain much more
specific information about the failure if the exception is treated
as a string. The 'message' attribute alone is usually not helpful.
9 years ago
Timothy R. Chavez 05e16c950d Pass network argument to add_ips_to_server
The `network` argument needs to be passed through `add_ips_to_server`
so that the default value can be properly overridden from ansible.
9 years ago
Timothy R. Chavez b9fe8166fd Get new server object after adding floating IP
We need a new server object once we add the floating ip, otherwise we
will be operating with the older server object pre-floating-ip
assignment.
9 years ago
Monty Taylor ccb39767cf Use add_ips_to_server API
This module is still using an old pre-release API and needs to update
to use the current API.

Co-Authored-By: Marton Kiss <marton.kiss@gmail.com>
9 years ago
Jesse Keating 76398781ba Fix up docs 9 years ago
Davide Guerri 304e187a52 Fix reuse argument documentation 9 years ago
Davide Guerri e3d9b51cbb Update os_floating_ip with new shade methods 9 years ago
Monty Taylor ff0fc73d64 Add OpenStack Floating IP Module
Also deprecate the two old quantum floating ip modules.
9 years ago