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

Synopsis

New in version 1.2.

Associates or disassociates a specific floating IP with a particular instance

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

                Note

                Requires quantumclient

                Note

                Requires neutronclient

                Note

                Requires keystoneclient

                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