VM allocated resources details(RAM,VCPUs,Disk)

asked 2015-05-29 01:35:11 -0600

s2628 gravatar image

updated 2015-05-29 01:59:45 -0600

SGPJ gravatar image


I am looking for API which gives me details of VM's allocated RAM,VCPUs and Disk. I can see this information on horizon under Project -> Compute -> Overview table.

I am able to get this information by mapping

VM's flavor id(/v2.1/servers/​{server_id}​) with /v2.1/flavors/detail.

However, I am interested in knowing is there any other way I can get VM's RAM,VCPUs and Disk info.

edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted

answered 2015-05-29 08:04:26 -0600

jdexter gravatar image

To get server details via the API, see the get_server_details call. http://developer.openstack.org/api-re...

This will give you the flavor. Which you can turn around and query, VIA http://developer.openstack.org/api-re...

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2015-05-29 01:35:11 -0600

Seen: 165 times

Last updated: May 29 '15