nova/nova/tests
Stephen Finucane 83cd67cd89 Add 'hw:cpu_thread_policy=require' scheduling
The 'require' CPU threads policy ensure that hosts are required to have
an SMT architecture and that it be possible to schedule an instance
utilising the thread siblings.

The 'require' policy should and will only be used when explicitly
requested by the instance or image. The existing 'prefer' policy
(though it wasn't called this before) is retained and will be used both
when requested and as the default, per the spec. A stub is included for
the remaining 'isolate' case.

It is necessary to add a filter to exclude hosts with no sibling
support. This ensures that hosts that could not implement this
threading policy are quickly discarded.

Finally, some tests that tested the 'require'-like aspects of the
'prefer' policy are reworked to request this policy explicitly.

Change-Id: Idedf16a734d9d85db08269d05f8c147959a17679
Implements: blueprint virt-driver-cpu-thread-pinning
2016-01-12 15:06:08 +00:00
..
functional Merge "libvirt: add realtime support" 2016-01-11 21:54:23 +00:00
live_migration/hooks NFS setup for live-migration job 2015-11-20 14:54:01 +03:00
unit Add 'hw:cpu_thread_policy=require' scheduling 2016-01-12 15:06:08 +00:00
__init__.py move all tests to nova/tests/unit 2014-11-12 15:31:08 -05:00
fixtures.py Remove Deprecated EC2 and ObjectStore impl/tests 2016-01-08 06:30:20 -05:00
uuidsentinel.py Add uuidsentinel test module 2015-12-14 11:28:55 +01:00