W3cubDocs

/Ansible

quantum_floating_ip_associate - Associate or disassociate a particular floating IP with an instance

DEPRECATED

Deprecated in 2.0. Use os_floating_ip instead

Synopsis

Associates or disassociates a specific floating IP with a particular instance

Requirements (on host that executes module)

  • python >= 2.6
  • python-novaclient
  • python-neutronclient or python-quantumclient
  • python-keystoneclient

Options

parameter required default choices comments
auth_url
no http://127.0.0.1:35357/v2.0/
the keystone url for authentication
instance_name
yes None
name of the instance to which the public IP should be assigned
ip_address
yes None
floating ip that should be assigned to the instance
login_password
yes yes
password of login user
login_tenant_name
yes True
the tenant name of the login user
login_username
yes admin
login username to authenticate to keystone
region_name
no None
name of the region
state
no present
  • present
  • absent
indicates the desired state of the resource

Examples

# Associate a specific floating IP with an Instance
- quantum_floating_ip_associate:
           state=present
           login_username=admin
           login_password=admin
           login_tenant_name=admin
           ip_address=1.1.1.1
           instance_name=vm1

For help in developing on modules, should you be so inclined, please read Community Information & Contributing, developing_test_pr and Developing Modules.

© 2012–2016 Michael DeHaan
© 2016 Red Hat, Inc.
Licensed under the GNU General Public License version 3.
https://docs.ansible.com/ansible/quantum_floating_ip_associate_module.html