[openstack-dev] Info on XenAPI data format for 'host_data' call

Bob Ball bob.ball at citrix.com
Wed Oct 8 15:53:25 UTC 2014


Hi Daniel,

The following is an example return value from one of my hosts

{"host_name-description": "Default install of XenServer", "host_hostname": "ciceronicus", "host_memory": {"total": 17169604608, "overhead": 266592256, "free": 16132087808, "free-computed": 16111337472}, "enabled": "true", "host_capabilities": ["xen-3.0-x86_64", "xen-3.0-x86_32p", "hvm-3.0-x86_32", "hvm-3.0-x86_32p", "hvm-3.0-x86_64"], "host_other-config": {"agent_start_time": "1412774967.", "iscsi_iqn": "iqn.2014-10.com.xensource.hq.eng:587b598c", "boot_time": "1412774885."}, "host_ip_address": "10.219.10.24", "host_cpu_info": {"physical_features": "0098e3fd-bfebfbff-00000001-28100800", "modelname": "Intel(R) Xeon(R) CPU           X3430  @ 2.40GHz", "vendor": "GenuineIntel", "features": "0098e3fd-bfebfbff-00000001-28100800", "family": 6, "maskable": "full", "cpu_count": 4, "socket_count": "1", "flags": "fpu de tsc msr pae mce cx8 apic sep mtrr mca cmov pat clflush acpi mmx fxsr sse sse2 ss ht nx constant_tsc nonstop_tsc aperfmperf pni vmx est ssse3 sse4_1 sse4_2 popcnt hypervisor ida tpr_shadow vnmi flexpriority ept vpid", "stepping": 5, "model": 30, "features_after_reboot": "0098e3fd-bfebfbff-00000001-28100800", "speed": "2394.086"}, "host_uuid": "ec54eebe-b14b-4b0a-aa89-d2c468771cd3", "host_name-label": "ciceronicus"}

Is that enough for what you're looking at?  If there is anything I can help with let me know on IRC.

Thanks,

Bob
________________________________________
From: Daniel P. Berrange [berrange at redhat.com]
Sent: 08 October 2014 16:19
To: openstack-dev at lists.openstack.org
Subject: [openstack-dev] Info on XenAPI data format for 'host_data'  call

I'm doing some work on the get_available_resource method and need
to understand what data format XenAPI returns for the following
RPC call:

   data = call_xenhost(self._session, "host_data", {})

I don't have any suitable XenServer hosts to test on myself, so if
anyone can provide a raw/json dump of the complete dataset returned
for this call on a real XenServer host, that would be very helpful


Regards,
Daniel
--
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|

_______________________________________________
OpenStack-dev mailing list
OpenStack-dev at lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev



More information about the OpenStack-dev mailing list