[Openstack] how to use extra_specs??

Vishvananda Ishaya vishvananda at gmail.com
Tue Nov 6 18:34:18 UTC 2012


On Nov 6, 2012, at 10:03 AM, "Dugger, Donald D" <donald.d.dugger at intel.com> wrote:

> The compute code currently defines a set of capabilities (info about disk & memory consumption, cpuinfo and a few other things) that are periodically reported up to the scheduler.  You can then use the extra_specs to specify key/value pairs for a flavor that will be used by the scheduler’s compute_capabilities’ filter to make decisions based upon these capabilities.  Note you can do relational comparisons on these capabilities, look at:
>  
>                 http://docs.openstack.org/developer/nova/devref/filter_scheduler.html
>  
> for details.
>  
> Currently, you are limited to the capabilities that are hard coded into the compute node code.  I’m thinking about, and intend to create a blueprint in the not too distant future, adding a plugin into the compute code so that you can add support for new capabilities.

You should be able to add in capabilities via host aggregates as well if you enable this AggregateInstanceExtraSpecs filter. This means you can change them at run time.

Vish
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20121106/f7cfb817/attachment.html>


More information about the Openstack mailing list