Currently we list info for the given instance and we parse the info about the floating IPs from there. 5minute should not be relying on the nova proxy API and should use the neutron API directly.
you can get the fixed ips via "openstack port list --server " then loop over them with openstack floating ip list --fixed-ip $ip
actually rather then --fixed-ip you can also do "openstack floating ip list --port " for each port returned by "openstack port list --server" that is more efficient
Currently we list info for the given instance and we parse the info about the floating IPs from there. 5minute should not be relying on the nova proxy API and should use the neutron API directly.
Currently we do: https://github.com/SatelliteQE/5minute/blob/master/vminute/vminute.py#L708
What we should do (explained using OSP CLI tooling):
^ This will return the ID of the port.
For example:
This way we can get the
10.0.149.240
floating IP and disassociate it