swh.objstorage.backends.winery.roshard module# class swh.objstorage.backends.winery.roshard.Pool(**kwargs)[source]# Bases: object name = 'shards'# run(*cmd: str) → Iterable[str][source]# Run the given command, and return its output as lines. Return: the standard output of the run command Raises: CalledProcessError if the command doesn’t exit with exit code 0. rbd(*arguments: str) → Iterable[str][source]# Run sudo rbd with the given arguments image_list()[source]# image_path(image)[source]# image_create(image)[source]# image_map(image, options)[source]# image_remap_ro(image)[source]# image_unmap(image)[source]# class swh.objstorage.backends.winery.roshard.ROShard(name, **kwargs)[source]# Bases: object get(key)[source]# class swh.objstorage.backends.winery.roshard.ROShardCreator(name: str, count: int, **kwargs)[source]# Bases: object add(content, obj_id)[source]#