Class: Ansible::Ruby::Modules::Os_floating_ip
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Os_floating_ip
- Defined in:
- lib/ansible/ruby/modules/generated/cloud/openstack/os_floating_ip.rb
Overview
Add or Remove a floating IP to an instance
Instance Method Summary collapse
-
#availability_zone ⇒ Object?
Ignored.
-
#fixed_address ⇒ String?
To which fixed IP of server the floating IP address should be attached to.
-
#floating_ip_address ⇒ String?
A floating IP address to attach or to detach.
-
#nat_destination ⇒ String?
The name or id of a neutron private network that the fixed IP to attach floating IP is on.
-
#network ⇒ String?
The name or ID of a neutron external network or a nova pool name.
-
#purge ⇒ :yes, ...
When I(state) is absent, indicates whether or not to delete the floating IP completely, or only detach it from the server.
-
#reuse ⇒ :yes, ...
When I(state) is present, and I(floating_ip_address) is not present, this parameter can be used to specify whether we should try to reuse a floating IP address already allocated to the project.
-
#server ⇒ String
The name or ID of the instance to which the IP address should be assigned.
-
#state ⇒ :present, ...
Should the resource be present or absent.
-
#timeout ⇒ Integer?
Time to wait for an IP address to appear as attached.
-
#wait ⇒ :yes, ...
When attaching a floating IP address, specify whether we should wait for it to appear as attached.
Methods inherited from Base
Methods inherited from Ansible::Ruby::Models::Base
attr_option, attr_options, attribute, fix_inclusion, #initialize, remove_existing_validations, #to_h, validates
Constructor Details
This class inherits a constructor from Ansible::Ruby::Models::Base
Instance Method Details
#availability_zone ⇒ Object?
Returns Ignored. Present for backwards compatibility.
52 |
# File 'lib/ansible/ruby/modules/generated/cloud/openstack/os_floating_ip.rb', line 52 attribute :availability_zone |
#fixed_address ⇒ String?
Returns To which fixed IP of server the floating IP address should be attached to.
28 |
# File 'lib/ansible/ruby/modules/generated/cloud/openstack/os_floating_ip.rb', line 28 attribute :fixed_address |
#floating_ip_address ⇒ String?
Returns A floating IP address to attach or to detach. Required only if I(state) is absent. When I(state) is present can be used to specify a IP address to attach.
20 |
# File 'lib/ansible/ruby/modules/generated/cloud/openstack/os_floating_ip.rb', line 20 attribute :floating_ip_address |
#nat_destination ⇒ String?
Returns The name or id of a neutron private network that the fixed IP to attach floating IP is on.
32 |
# File 'lib/ansible/ruby/modules/generated/cloud/openstack/os_floating_ip.rb', line 32 attribute :nat_destination |
#network ⇒ String?
Returns The name or ID of a neutron external network or a nova pool name.
16 |
# File 'lib/ansible/ruby/modules/generated/cloud/openstack/os_floating_ip.rb', line 16 attribute :network |
#purge ⇒ :yes, ...
Returns When I(state) is absent, indicates whether or not to delete the floating IP completely, or only detach it from the server. Default is to detach only.
48 |
# File 'lib/ansible/ruby/modules/generated/cloud/openstack/os_floating_ip.rb', line 48 attribute :purge |
#reuse ⇒ :yes, ...
Returns When I(state) is present, and I(floating_ip_address) is not present, this parameter can be used to specify whether we should try to reuse a floating IP address already allocated to the project.
24 |
# File 'lib/ansible/ruby/modules/generated/cloud/openstack/os_floating_ip.rb', line 24 attribute :reuse |
#server ⇒ String
Returns The name or ID of the instance to which the IP address should be assigned.
12 |
# File 'lib/ansible/ruby/modules/generated/cloud/openstack/os_floating_ip.rb', line 12 attribute :server |
#state ⇒ :present, ...
Returns Should the resource be present or absent.
44 |
# File 'lib/ansible/ruby/modules/generated/cloud/openstack/os_floating_ip.rb', line 44 attribute :state |
#timeout ⇒ Integer?
Returns Time to wait for an IP address to appear as attached. See wait.
40 |
# File 'lib/ansible/ruby/modules/generated/cloud/openstack/os_floating_ip.rb', line 40 attribute :timeout |
#wait ⇒ :yes, ...
Returns When attaching a floating IP address, specify whether we should wait for it to appear as attached.
36 |
# File 'lib/ansible/ruby/modules/generated/cloud/openstack/os_floating_ip.rb', line 36 attribute :wait |