Ask Your Question
1

how to get the details of a hyper-visor in open stack environment via Openstack Java SDK?

asked 2013-07-12 04:08:13 -0500

Medhavi gravatar image

updated 2013-07-12 18:45:06 -0500

smaffulli gravatar image

how to get the details of a hyper-visor in open stack environment via Openstack Java SDK? The result I get through the query $nova hypervisor-show 3 is the hardware configuration of the hypervisor whose internal id is '3'. The same result I want to get through Java.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2014-02-05 06:21:19 -0500

I think Openstack Java SDK located at [1] currently does not implement HypervisorExtensions [2].

You can use [3] as guideline in your java code to create a client and get the hypervisor information. Adding it to [2] is most welcome :)

[1] https://github.com/woorea/openstack-java-sdk

[2]https://github.com/woorea/openstack-java-sdk/blob/master/nova-client/src/main/java/com/woorea/openstack/nova/api/extensions/HypervisorsExtension.java

[3] http://api.openstack.org/api-ref-compute-ext.html#ext-os-hypervisors

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

Stats

Asked: 2013-07-12 04:08:13 -0500

Seen: 397 times

Last updated: Feb 05 '14