From 0a17fd030f5ba1164a221f1147dfdd971ebda97e Mon Sep 17 00:00:00 2001 From: Yun Huang Date: Mon, 26 Mar 2018 12:31:04 +0800 Subject: Add HPA cpupining capabilities for titanium cloud Change-Id: Iee24fb0058f824aa39d44c5f961497ca45ba7b6e Issue-ID: MULTICLOUD-200 Signed-off-by: Yun Huang --- windriver/titanium_cloud/registration/tests/test_registration.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'windriver/titanium_cloud/registration/tests/test_registration.py') 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" } } -- cgit 1.2.3-korg