Ask Your Question
1

VM allocated resources details(RAM,VCPUs,Disk)

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

s2628 gravatar image

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

SGPJ gravatar image

Hello,

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
1

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

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

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

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

Seen: 141 times

Last updated: May 29 '15