Remove inactive commands tests and API update
Signed-off-by: Daniel Madej <daniel.madej@intel.com>
This commit is contained in:
@@ -121,9 +121,12 @@ class Cache:
|
||||
def add_core(self, core_dev, core_id: int = None):
|
||||
return casadm.add_core(self, core_dev, core_id)
|
||||
|
||||
def remove_core(self, core_id, force: bool = False):
|
||||
def remove_core(self, core_id: int, force: bool = False):
|
||||
return casadm.remove_core(self.cache_id, core_id, force)
|
||||
|
||||
def remove_inactive_core(self, core_id: int, force: bool = False):
|
||||
return casadm.remove_inactive(self.cache_id, core_id, force)
|
||||
|
||||
def reset_counters(self):
|
||||
return casadm.reset_counters(self.cache_id)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user