summaryrefslogtreecommitdiffstats
path: root/windriver/titanium_cloud/registration/tests
diff options
context:
space:
mode:
authorYun Huang <yun.huang@windriver.com>2018-03-26 13:05:44 +0800
committerYun Huang <yun.huang@windriver.com>2018-03-26 13:08:57 +0800
commitd2f06dfe231e43c57883fbdc8df655199ac82b2d (patch)
tree8193c56ddb295876c7aadb089d6eafb93a746a37 /windriver/titanium_cloud/registration/tests
parent0a17fd030f5ba1164a221f1147dfdd971ebda97e (diff)
Add HPA cpu topology capabilities for TC
Change-Id: I6e787e26ccc4288e1ff4055c5f4b3cbab52c5c61 Issue-ID: MULTICLOUD-200 Signed-off-by: Yun Huang <yun.huang@windriver.com>
Diffstat (limited to 'windriver/titanium_cloud/registration/tests')
-rw-r--r--windriver/titanium_cloud/registration/tests/test_registration.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/windriver/titanium_cloud/registration/tests/test_registration.py b/windriver/titanium_cloud/registration/tests/test_registration.py
index 3e8c5612..53e8a47b 100644
--- a/windriver/titanium_cloud/registration/tests/test_registration.py
+++ b/windriver/titanium_cloud/registration/tests/test_registration.py
@@ -50,7 +50,10 @@ MOCK_GET_FLAVOR_EXTRA_SPECS_RESPONSE = {
"aggregate_instance_extra_specs:storage" : "local_image",
"capabilities:cpu_info:model" : "Haswell",
"hw:cpu_policy" : "dedicated",
- "hw:cpu_thread_policy" : "prefer"
+ "hw:cpu_thread_policy" : "prefer",
+ "hw:cpu_sockets" : "2",
+ "hw:cpu_cores" : "4",
+ "hw:cpu_threads" : "16"
}
}