forked from TrueCloudLab/frostfs-testlib
Add interfaces for deleting fstree, blobovnocza and pilorama.db
This commit is contained in:
parent
d30d3d5cfd
commit
d9504697ba
3 changed files with 48 additions and 0 deletions
|
@ -121,6 +121,36 @@ class Host(ABC):
|
|||
cache_only: To delete cache only.
|
||||
"""
|
||||
|
||||
@abstractmethod
|
||||
def delete_fstree(self, service_name: str) -> None:
|
||||
"""
|
||||
Deletes all fstrees in the node.
|
||||
|
||||
Args:
|
||||
service_name: Name of storage node service.
|
||||
|
||||
"""
|
||||
|
||||
@abstractmethod
|
||||
def delete_blobovnicza(self, service_name: str) -> None:
|
||||
"""
|
||||
Deletes all blobovniczas in the node.
|
||||
|
||||
Args:
|
||||
service_name: Name of storage node service.
|
||||
|
||||
"""
|
||||
|
||||
@abstractmethod
|
||||
def delete_pilorama(self, service_name: str) -> None:
|
||||
"""
|
||||
Deletes all pilorama.db files in the node.
|
||||
|
||||
Args:
|
||||
service_name: Name of storage node service.
|
||||
|
||||
"""
|
||||
|
||||
@abstractmethod
|
||||
def detach_disk(self, device: str) -> DiskInfo:
|
||||
"""Detaches disk device to simulate disk offline/failover scenario.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue