[openstack-dev] python API for showing detail of target like server, flavor, etc

terryxing xingtianyi at gmail.com
Thu Nov 14 22:20:11 UTC 2013


Hi Dear All,

I have a  question about the python API for nova.

I use the code ( server = nova.servers.find(name=instancename)  ) to get
the list and detail information of the running instance, but when I print
the server, I only get  output like <Server: vm1> without detailed
information.

I want to get the all detail information some like the json architecture,
describe here.
http://docs.openstack.org/api/openstack-compute/2/content/List_Servers-d1e2078.html

But, when I use the same API for quantum or neutron, like  "print
quantum.list_networks(name=netname)"

I can print out all  information for a network, which is same as it is
describe in the

http://docs.openstack.org/api/openstack-network/2.0/content/List_Networks.html


What is the different ? how  can I get the detail information of instance ?

Thanks very much.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20131114/f6da9c50/attachment.html>


More information about the OpenStack-dev mailing list