Add get_processors() to AbstractSystemsDriver

Ensure all drivers inherit the get_processors() method.

Change-Id: I0d71b5d83bd2879c858a40e54cabd943bed4f830
Signed-off-by: Harald Jensås <hjensas@redhat.com>
This commit is contained in:
Harald Jensås
2025-10-28 00:26:20 +01:00
parent ad220ed98a
commit b900c41b74

View File

@@ -248,6 +248,13 @@ class AbstractSystemsDriver(metaclass=abc.ABCMeta):
"""
raise error.NotSupportedError('Not implemented')
def get_processors(self, identity):
"""Get processors information for the system
:returns: list of processor dictionaries
"""
raise error.NotSupportedError('Not implemented')
def find_or_create_storage_volume(self, data):
"""Find/create volume based on existence in the virtualization backend