THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
Some minimal calculations are required from the listHost response.
1) Call listHosts API with filter "hypervisortypehypervisor" (say xenserver)
2) take the count of number of hosts
3) In the response we need to take sum of all the values of parameter "cpusockets". If cpusockets are not mentioned for particular hypervisor type we leave the value as unknown.
...