summaryrefslogtreecommitdiffstats
path: root/windriver/titanium_cloud/registration
diff options
context:
space:
mode:
Diffstat (limited to 'windriver/titanium_cloud/registration')
-rw-r--r--windriver/titanium_cloud/registration/tests/test_registration.py3
-rw-r--r--windriver/titanium_cloud/registration/views/registration.py2
2 files changed, 3 insertions, 2 deletions
diff --git a/windriver/titanium_cloud/registration/tests/test_registration.py b/windriver/titanium_cloud/registration/tests/test_registration.py
index 8ef4b4b8..0b3a516d 100644
--- a/windriver/titanium_cloud/registration/tests/test_registration.py
+++ b/windriver/titanium_cloud/registration/tests/test_registration.py
@@ -60,7 +60,8 @@ MOCK_GET_FLAVOR_EXTRA_SPECS_RESPONSE = {
"hw:numa_cpus.1" : "2,3,4,5",
"hw:numa_mem.0" : "2048",
"hw:numa_mem.1" : "2048",
- "hw:capabilities:cpu_info:features":"avx,acpi"
+ "hw:capabilities:cpu_info:features":"avx,acpi",
+ "pci_passthrough:alias":"sriov-vf-intel-8086-15b3:4"
}
}
diff --git a/windriver/titanium_cloud/registration/views/registration.py b/windriver/titanium_cloud/registration/views/registration.py
index 992353ca..bdf89a15 100644
--- a/windriver/titanium_cloud/registration/views/registration.py
+++ b/windriver/titanium_cloud/registration/views/registration.py
@@ -127,7 +127,7 @@ class Registry(newton_registration.Registry):
# PCI passthrough capabilities
caps_dict = self._get_pci_passthrough_capabilities(extra_specs)
if len(caps_dict) > 0:
- self._logger.debug("pxi_passthrough_capabilities_info: %s" % caps_dict)
+ self._logger.debug("pci_passthrough_capabilities_info: %s" % caps_dict)
hpa_caps.append(caps_dict)
return hpa_caps