Re: [openstack-dev] [Nova] structure of supported_instances field (architecture, hypervisor type, vm mode) ?

2014-10-06 Thread Murray, Paul (HP Cloud)
FYI I'm currently working on changing the get_available_resources() method to return a formal object, instead of its horrible undocumented dict(). With this, the current list of lists / JSON used for supported_instances will turn into a formal object with strict validation. Regards, Thanks

[openstack-dev] [Nova] structure of supported_instances field (architecture, hypervisor type, vm mode) ?

2014-10-03 Thread Murray, Paul (HP Cloud)
Hi All, I have a question about information used to determine if a host supports an image. The virt drivers all provide a list of triples of the form (architecture, hypervisor type, vm mode). Each triple is compared to the corresponding three image properties in a request in the scheduler

Re: [openstack-dev] [Nova] structure of supported_instances field (architecture, hypervisor type, vm mode) ?

2014-10-03 Thread Daniel P. Berrange
On Fri, Oct 03, 2014 at 03:16:02PM +, Murray, Paul (HP Cloud) wrote: Hi All, I have a question about information used to determine if a host supports an image. The virt drivers all provide a list of triples of the form (architecture, hypervisor type, vm mode). Each triple is compared

Re: [openstack-dev] [Nova] structure of supported_instances field (architecture, hypervisor type, vm mode) ?

2014-10-03 Thread Jay Pipes
On 10/03/2014 11:29 AM, Daniel P. Berrange wrote: On Fri, Oct 03, 2014 at 03:16:02PM +, Murray, Paul (HP Cloud) wrote: Hi All, I have a question about information used to determine if a host supports an image. The virt drivers all provide a list of triples of the form (architecture,

Re: [openstack-dev] [Nova] structure of supported_instances field (architecture, hypervisor type, vm mode) ?

2014-10-03 Thread Sylvain Bauza
Le 03/10/2014 17:29, Daniel P. Berrange a écrit : On Fri, Oct 03, 2014 at 03:16:02PM +, Murray, Paul (HP Cloud) wrote: Hi All, I have a question about information used to determine if a host supports an image. The virt drivers all provide a list of triples of the form (architecture,

Re: [openstack-dev] [Nova] structure of supported_instances field (architecture, hypervisor type, vm mode) ?

2014-10-03 Thread Matt Riedemann
On 10/3/2014 10:29 AM, Daniel P. Berrange wrote: On Fri, Oct 03, 2014 at 03:16:02PM +, Murray, Paul (HP Cloud) wrote: Hi All, I have a question about information used to determine if a host supports an image. The virt drivers all provide a list of triples of the form (architecture,