Standby cache attach for Cache api

Signed-off-by: Piotr Debski <piotr.debski@intel.com>
This commit is contained in:
Piotr Debski 2022-04-07 15:14:43 +02:00
parent 927270cca1
commit e986fe5268

View File

@ -173,3 +173,6 @@ class Cache:
return CacheConfig(self.get_cache_line_size(),
self.get_cache_mode(),
self.get_cleaning_policy())
def standby_detach(self, shortcut: bool = False):
return casadm.standby_detach_cache(cache_id=self.cache_id, shortcut=shortcut)