summaryrefslogtreecommitdiffstats
path: root/windriver/titanium_cloud/registration/tests/test_registration.py
diff options
context:
space:
mode:
authorYun Huang <yun.huang@windriver.com>2018-03-26 12:31:04 +0800
committerYun Huang <yun.huang@windriver.com>2018-03-26 12:31:04 +0800
commit0a17fd030f5ba1164a221f1147dfdd971ebda97e (patch)
treed61b8ffd9e05b2b44b9e0c11220e1a378fa1cd88 /windriver/titanium_cloud/registration/tests/test_registration.py
parent7127ff91c8f834b525251f4842a4474c3fabc5f1 (diff)
Add HPA cpupining capabilities for titanium cloud
Change-Id: Iee24fb0058f824aa39d44c5f961497ca45ba7b6e Issue-ID: MULTICLOUD-200 Signed-off-by: Yun Huang <yun.huang@windriver.com>
Diffstat (limited to 'windriver/titanium_cloud/registration/tests/test_registration.py')
-rw-r--r--windriver/titanium_cloud/registration/tests/test_registration.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/windriver/titanium_cloud/registration/tests/test_registration.py b/windriver/titanium_cloud/registration/tests/test_registration.py
index 3dcbd547..3e8c5612 100644
--- a/windriver/titanium_cloud/registration/tests/test_registration.py
+++ b/windriver/titanium_cloud/registration/tests/test_registration.py
@@ -48,7 +48,9 @@ MOCK_GET_FLAVOR_RESPONSE = {
MOCK_GET_FLAVOR_EXTRA_SPECS_RESPONSE = {
"extra_specs" : {
"aggregate_instance_extra_specs:storage" : "local_image",
- "capabilities:cpu_info:model" : "Haswell"
+ "capabilities:cpu_info:model" : "Haswell",
+ "hw:cpu_policy" : "dedicated",
+ "hw:cpu_thread_policy" : "prefer"
}
}