nova/releasenotes/notes/request-traits-in-nova-ffcb00f76229b6e9.yaml
He Jie Xu 284ba35c33 Fix nits in support traits changes
Addresses the comments from earlier patches:

https://review.openstack.org/535642

https://review.openstack.org/536085

Co-Authored-By: Matt Riedemann <mriedem.os@gmail.com>

Change-Id: I366b97ef3c141834f48949700edb968a7c7c4167
2018-01-31 11:07:07 -05:00

22 lines
819 B
YAML

---
features:
- |
Added traits support to the scheduler. A new flavor extra spec is added to
support specifying the required traits. The syntax of extra spec is
``trait:<trait_name>=required``, for example:
- trait:HW_CPU_X86_AVX2=required
- trait:STORAGE_DISK_SSD=required
The scheduler will pass required traits to the
``GET /allocation_candidates`` endpoint in the Placement API to include
only resource providers that can satisfy the required traits. Currently
the only valid value is ``required``. Any other value will be considered
invalid.
This requires that the Placement API version 1.17 is available before
the ``nova-scheduler`` service can use this feature.
The FilterScheduler is currently the only scheduler driver that supports
this feature.