Deprecated in 2.0. Use os_floating_ip instead
Associates or disassociates a specific floating IP with a particular instance
- python >= 2.6
- python-novaclient
- python-neutronclient or python-quantumclient
- python-keystoneclient
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 |
|
indicates the desired state of the resource |
# 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, Helping Testing PRs and Developing Modules.