8000 GitHub - gluster/glustercli-python: Python bindings for Gluster Commands and Metrics
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

gluster/glustercli-python

Repository files navigation

glustercli-python

Python bindings for GlusterFS CLI and Metrics.

Hello World

from glustercli.cli import volume

# Create a Volume
volume.create("gv1", ["fvm1:/bricks/b1", "fvm2:/bricks/b2"],
              force=True)

# Start Volume
volume.start("gv1")

# Read Volume Info
volume.info("gv1")

# Get GlusterFS version
from glustercli.cli import glusterfs_version
print(glusterfs_version())

Install

sudo pip3 install glustercli

Documentation

See Documentation

Install pydoc-markdown package to generate Documentation.

sudo pip3 install pydoc-markdown

About

Python bindings for Gluster Commands and Metrics

Resources

License

GPL-2.0, LGPL-3.0 licenses found

Licenses found

GPL-2.0
COPYING-GPLV2
LGPL-3.0
COPYING-LGPLV3

Stars

Watchers

Forks

Packages

No packages published

Contributors 12

0