Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

how to show which fields in neutron_client.list_floatingips()how to show which fields in neutron_client.list_floatingips()

floatingips = neutron_client.list_floatingips()

floatingip['tenant_id']

would like to search virtual machine id

>>> list(floatingips.keys())
['floatingips']
>>> list(floatingips.iterkeys())
['floatingips']
>>> list(floatingips.viewkeys())
['floatingips']