forked from TrueCloudLab/frostfs-testlib
[#102] Updates for failover
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
This commit is contained in:
parent
0c3bb20af5
commit
b1a3d740e9
5 changed files with 51 additions and 8 deletions
|
@ -145,6 +145,9 @@ class StorageNode(NodeBase):
|
|||
def get_shard_config_path(self) -> str:
|
||||
return self._get_attribute(ConfigAttributes.SHARD_CONFIG_PATH)
|
||||
|
||||
def get_shards_config(self) -> tuple[str, dict]:
|
||||
return self.get_config(self.get_shard_config_path())
|
||||
|
||||
def get_control_endpoint(self) -> str:
|
||||
return self._get_attribute(ConfigAttributes.CONTROL_ENDPOINT)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue