pyocf: more options to standby load

Signed-off-by: Adam Rutkowski <adam.j.rutkowski@intel.com>
This commit is contained in:
Adam Rutkowski 2022-03-28 21:02:25 +02:00
parent b78c36ccdd
commit d8e519855b

View File

@ -561,11 +561,11 @@ class Cache:
c.results["error"], c.results["error"],
) )
def standby_load(self, device): def standby_load(self, device, perform_test=True):
self.device = device self.device = device
self.device_name = device.uuid self.device_name = device.uuid
device_config = Cache.generate_device_config(device) device_config = Cache.generate_device_config(device, perform_test=perform_test)
attach_cfg = CacheAttachConfig( attach_cfg = CacheAttachConfig(
_device=device_config, _device=device_config,