Ask Your Question
0

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

Hi,

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
0

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(https://docs.openstack.org/developer/python-ironic-inspector-client/cli.html).

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

2 followers

Stats

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

Seen: 181 times

Last updated: Apr 18 '16