Class: Ansible::Ruby::Modules::Os_floating_ip

Inherits:
Base show all
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

Methods inherited from Base

#ansible_name, #to_h

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_zoneObject?

Returns Ignored. Present for backwards compatibility.

Returns:

  • (Object, nil)

    Ignored. Present for backwards compatibility



52
# File 'lib/ansible/ruby/modules/generated/cloud/openstack/os_floating_ip.rb', line 52

attribute :availability_zone

#fixed_addressString?

Returns To which fixed IP of server the floating IP address should be attached to.

Returns:

  • (String, nil)

    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_addressString?

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.

Returns:

  • (String, nil)

    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_destinationString?

Returns The name or id of a neutron private network that the fixed IP to attach floating IP is on.

Returns:

  • (String, nil)

    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

#networkString?

Returns The name or ID of a neutron external network or a nova pool name.

Returns:

  • (String, nil)

    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.

Returns:

  • (:yes, :no, nil)

    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.

Returns:

  • (:yes, :no, nil)

    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

#serverString

Returns The name or ID of the instance to which the IP address should be assigned.

Returns:

  • (String)

    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.

Returns:

  • (:present, :absent, nil)

    Should the resource be present or absent.



44
# File 'lib/ansible/ruby/modules/generated/cloud/openstack/os_floating_ip.rb', line 44

attribute :state

#timeoutInteger?

Returns Time to wait for an IP address to appear as attached. See wait.

Returns:

  • (Integer, nil)

    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.

Returns:

  • (:yes, :no, nil)

    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