[#353] Added Netmap command for CliWrapper

Signed-off-by: Dmitriy Zayakin <d.zayakin@yadro.com>
This commit is contained in:
Dmitriy Zayakin 2025-01-30 14:38:22 +03:00 committed by Dmitriy Zayakin
parent ace9564243
commit b44705eb2f
14 changed files with 770 additions and 441 deletions

View file

@ -1,14 +1,14 @@
from frostfs_testlib.cli.frostfs_cli.cli import FrostfsCli
from frostfs_testlib.storage.grpc_operations import interfaces
from frostfs_testlib.storage.grpc_operations.implementations import container, object
from frostfs_testlib.storage.grpc_operations import implementations, interfaces, interfaces_wrapper
class CliClientWrapper(interfaces.GrpcClientWrapper):
class CliClientWrapper(interfaces_wrapper.GrpcClientWrapper):
def __init__(self, cli: FrostfsCli) -> None:
self.cli = cli
self.object: interfaces.ObjectInterface = object.ObjectOperations(self.cli)
self.container: interfaces.ContainerInterface = container.ContainerOperations(self.cli)
self.object: interfaces.ObjectInterface = implementations.ObjectOperations(self.cli)
self.container: interfaces.ContainerInterface = implementations.ContainerOperations(self.cli)
self.netmap: interfaces.NetmapInterface = implementations.NetmapOperations(self.cli)
class RpcClientWrapper(interfaces.GrpcClientWrapper):
class RpcClientWrapper(interfaces_wrapper.GrpcClientWrapper):
pass # The next series