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"],
)
def standby_load(self, device):
def standby_load(self, device, perform_test=True):
self.device = device
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(
_device=device_config,