This is an unfortunate consequence of floating ips not being in the original
spec for the api and being added in the extension. I do believe the ordering is
consistent, but you are probably safer to do a client.floating_ips.list() and
filtering the resulting objects based on instance_id.
Using the Python API, what's the best of getting a list of floating
ips assigned to an instance? The Server.addresses dictionary contains
*both* fixed and floating ips, and doesn't appear to differentiate
between them. E.g:
srvr = client.servers.find(name='myinstance')
print
2 matches
Mail list logo