implement get_resource_info noop, nova
fixes the stevdore extension for abstract method get_resource_info in nova and noop infra driver Change-Id: I8a1d3ab0c208285b2b9ae0b7026309c720d08ff1 Closes-Bug: #1624609
This commit is contained in:
parent
2f98f410d9
commit
13d1b3fa4a
@ -70,3 +70,7 @@ class DeviceNoop(abstract_driver.DeviceAbstractDriver):
|
||||
@log.log
|
||||
def delete_wait(self, plugin, context, vnf_id):
|
||||
pass
|
||||
|
||||
def get_resource_info(self, plugin, context, vnf_info, auth_attr,
|
||||
region_name=None):
|
||||
return {'noop': {'id': str(uuid.uuid4()), 'type': 'noop'}}
|
||||
|
@ -275,3 +275,7 @@ class DeviceNova(abstract_driver.DeviceAbstractDriver):
|
||||
raise RuntimeError(_("deletion of server %s faild") %
|
||||
vnf_id)
|
||||
time.sleep(5)
|
||||
|
||||
def get_resource_info(self, plugin, context, vnf_info, auth_attr,
|
||||
region_name=None):
|
||||
pass
|
||||
|
Loading…
Reference in New Issue
Block a user