yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #26002
[Bug 1396050] Re: floating_ip_disassociate port_id parameter never used
** Changed in: horizon
Status: Fix Committed => Fix Released
** Changed in: horizon
Milestone: None => kilo-1
--
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/1396050
Title:
floating_ip_disassociate port_id parameter never used
Status in OpenStack Dashboard (Horizon):
Fix Released
Bug description:
Code:
Neutron:
openstack_dashboard/api/neutron.py
def disassociate(self, floating_ip_id, port_id):
update_dict = {'port_id': None}
self.client.update_floatingip(floating_ip_id,
{'floatingip': update_dict})
Nova:
openstack_dashboard/api/nova.py
def disassociate(self, floating_ip_id, port_id):
fip = self.client.floating_ips.get(floating_ip_id)
server = self.client.servers.get(fip.instance_id)
self.client.servers.remove_floating_ip(server.id, fip.ip)
python-neutronclient usage:
neutron floatingip-disassociate [-h] [--request-format {json,xml}] FLOATINGIP_ID
python-novaclient usage:
nova floating-ip-disassociate <server> <address>
To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1396050/+subscriptions
References