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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user