[openstack-dev] Propose to define the compute capability clearly

Jiang, Yunhong yunhong.jiang at intel.com
Tue Oct 21 21:41:44 UTC 2014


Hi, Daniel's & all,
	This is a follow up to Daniel's http://osdir.com/ml/openstack-dev/2014-10/msg00557.html , "Info on XenAPI data format for 'host_data' call". 
	I'm considering to change the compute capability to be a nova object, with well defined field, the reasons are: a) currently the compute capability is a dict returned from hypervisor, however, different hypervisor may have different return value; b) currently the compute capability filter make decision simply match the flavor extra_specs with this not-well-defined dict, this is not good IMHO. 
	Just want to get some feedback from the mailing list before I try to create a BP and spec for it.

Thanks
--jyh

> -----Original Message-----
> From: Daniel P. Berrange [mailto:berrange at redhat.com]
> Sent: Wednesday, October 8, 2014 8:56 AM
> To: Bob Ball
> Cc: openstack-dev at lists.openstack.org
> Subject: Re: [openstack-dev] Info on XenAPI data format for 'host_data' call
> 
> On Wed, Oct 08, 2014 at 03:53:25PM +0000, Bob Ball wrote:
> > 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.
> 
> Yes, that is perfect, thank you.
> 
> 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