Public bug reported: The Compute -> Access & Security -> Floating IPs tab should provide the Associate button for FIPs that are already associated. The nova CLI allows a user to associate an already associated FIP, with the behavior being that the FIP is transferred from one VM to another.
$ openstack --debug ip floating add [Already associated IP] [VM to reassign the FIP to] .... REQ: curl -g -i -X POST https://nova-api.example.com/v2/[project ID]/servers/[Instance ID]/action -H "User-Agent: python-novaclient" -H "Content-Type: application/json" -H "Accept: application/json" -H "X-Auth-Token: {SHA1} [token hash]" -d '{"addFloatingIp": {"address": "[IP address]"}}' "POST /v2/[project ID]/servers/[Instance ID]/action HTTP/1.1" 202 0 .... The single API call to nova associates the IP with the new VM and disassociates it from the old VM. The CLI behavior is especially useful for service IP's, where switching an IP from one VM to another quickly is important. ** Affects: horizon Importance: Undecided Assignee: Brad Pokorny (bpokorny) Status: New ** Changed in: horizon Assignee: (unassigned) => Brad Pokorny (bpokorny) -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to OpenStack Dashboard (Horizon). https://bugs.launchpad.net/bugs/1518134 Title: Allow reassociate for associated FIPs Status in OpenStack Dashboard (Horizon): New Bug description: The Compute -> Access & Security -> Floating IPs tab should provide the Associate button for FIPs that are already associated. The nova CLI allows a user to associate an already associated FIP, with the behavior being that the FIP is transferred from one VM to another. $ openstack --debug ip floating add [Already associated IP] [VM to reassign the FIP to] .... REQ: curl -g -i -X POST https://nova-api.example.com/v2/[project ID]/servers/[Instance ID]/action -H "User-Agent: python-novaclient" -H "Content-Type: application/json" -H "Accept: application/json" -H "X-Auth-Token: {SHA1} [token hash]" -d '{"addFloatingIp": {"address": "[IP address]"}}' "POST /v2/[project ID]/servers/[Instance ID]/action HTTP/1.1" 202 0 .... The single API call to nova associates the IP with the new VM and disassociates it from the old VM. The CLI behavior is especially useful for service IP's, where switching an IP from one VM to another quickly is important. To manage notifications about this bug go to: https://bugs.launchpad.net/horizon/+bug/1518134/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp