How can I get all hardware information through OpenStack API?

asked 2016-04-18 09:42:16 -0600

raimonbosch gravatar image

updated 2016-04-18 09:43:09 -0600


I would like to see the disk type and the cpu type of each of my hostnames. It would be even better if I could see all the hardware information that you could see via 'lshw' command so we don't miss anything.

the most similar thing I have found is: GET /v2.1/​{tenant_id}​/os-hypervisors/​{hypervisor_id}​

but here I don't have all the details about disk, for instance. What parts of the code must be changed to include this information? Is there any ongoing patch?

edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted

answered 2017-03-01 16:05:31 -0600

There is a project named ironic-inspector which collects the hardware details of baremetal nodes. Also they are openstack API to get back the details(

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools



Asked: 2016-04-18 09:42:16 -0600

Seen: 349 times

Last updated: Apr 18 '16