On 03/04/2013 03:43 PM, Romil Gupta wrote:
Hi Michael ,
May I know , Is there any api to get the no. of cores available in Host attached to a
Cluster in RHEV-M ??
see in host CPU element:
<cpu>
<topology sockets=".." cores=".."/>
...
</cpu>
api.hosts.get(name="...").get_cpu().get_topology().get_cores()
Thanks
Romil
--
Michael Pasternak
RedHat, ENG-Virtualization R&D