<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=utf-8">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <tt>A project to provide Python wrappers for Gluster CLI commands.</tt><tt>
      These wrappers helps to integrate with external python projects
      easily.<br>
      <br>
      For example to start a Gluster volume "gv1"<br>
      <br>
          from gluster.cli import volume<br>
      <br>
          try:<br>
              volume.start("gv1")<br>
          except </tt><tt><span class="pl-en">GlusterCmdException as e:<br>
                print "Volume start failed:", e<br>
      </span><br>
    </tt><tt>These wrappers does additional processing compared to raw
      Gluster xml outputs to provide meaningful data.<br>
      For example, <br>
      georep.status joins `gluster volume info` and `gluster georep
      status` to return output in sorted order same as Volume info and
      to show offline status.<br>
      volume.status_detail which runs `gluster volume info` and `gluster
      volume status detail` and merges the output to show the offline
      bricks status.<br>
      <br>
      <br>
    </tt><tt>Repo:<br>
      -----<br>
    </tt><tt><a class="moz-txt-link-freetext" href="https://github.com/gluster/glustercli-python">https://github.com/gluster/glustercli-python</a><br>
    </tt><tt><br>
      <br>
      Install:<br>
      --------<br>
      Install using pip command `sudo pip install glustercli` 
      (<a class="moz-txt-link-freetext" href="https://pypi.python.org/pypi/glustercli">https://pypi.python.org/pypi/glustercli</a>)<br>
      <br>
      <br>
      What is available:<br>
      -------------------<br>
    </tt><tt>Volume Operations:
start/stop/restart/create/delete/info/status_detail/optset/optreset/log_rotate/sync/clear_locks/barrier_enable/barrier_disable/profile_start/profile_stop/profile_info<br>
      Geo-rep Operations:
gsec_create/create/start/stop/restart/delete/pause/resume/config_set/config_reset/status<br>
      Snapshot operations: activate/clone/create/deactivate/delete/restore/config<br>
      Rebalance operations: fix_layout_start/start/stop/status<br>
      Quota operations:
inode_quota_enable/enable/disable/remove_path/remove_objects/default_soft_limit/limit_usage/limit_objects/alert_time/soft_timeout/hard_timeout<br>
      Peer operations: probe/attach/detach/status/pool<br>
      NFS Ganesha: enable/disable<br>
      Heal operations: enable/disable/full/split_brain<br>
      Bricks operations:
      add/remove_start/remove_stop/remove_commit/replace_commit<br>
      Bitrot operations: enable/disable/scrub_</tt><tt>throttle/scrub_frequency/scrub_pause/scrub_resume<br>
      Tier operations:
      start/attach/detach_start/detach_stop/detach_commit<br>
      <br>
      Who is using:<br>
      -------------<br>
      Gluster management REST APIs project:
      <a class="moz-txt-link-freetext" href="https://github.com/gluster/restapi">https://github.com/gluster/restapi</a><br>
      Gluster Geo-replication tools:
      <a class="moz-txt-link-freetext" href="http://aravindavk.in/blog/gluster-georep-tools">http://aravindavk.in/blog/gluster-georep-tools</a><br>
    </tt><tt><br>
    </tt><tt>Call for participation:<br>
      -----------------------<br>
      - Integration with external projects<br>
      - Fedora/Ubuntu and other distributions packaging<br>
      - API documentation<br>
      - Tests<br>
      - Following wrappers to be implemented, feel free to send pull
      requests($SRC/gluster/cli/parsers.py)<br>
      <br>
              - Bitrot scrub status<br>
              - Rebalance Status<br>
              - Quota List Paths<br>
              - Quota List Objects<br>
              - Geo-rep Config Get<br>
              - Remove Brick status<br>
              - Tier detach status<br>
              - Tier status<br>
              - Volumes List<br>
              - Heal info<br>
              - Heal Statistics<br>
              - Snapshot status<br>
              - Snapshot info<br>
              - Snapshot List<br>
    </tt><tt>        - Volume options<br>
    </tt><tt><br>
      Thanks to Xiaohui Liu(xiaohui) for Volume profile output parsing
      and peer list parsing </tt><tt><tt>pull requests<br>
        <br>
      </tt><a class="moz-txt-link-freetext" href="https://github.com/gluster/glustercli-python/commit/bb7cad16d244101f0f298b6359fa053ca4755808">https://github.com/gluster/glustercli-python/commit/bb7cad16d244101f0f298b6359fa053ca4755808</a><br>
<a class="moz-txt-link-freetext" href="https://github.com/gluster/glustercli-python/commit/f4f0a8c7540bb94af6a9b486baaa2a2fe67c5d04">https://github.com/gluster/glustercli-python/commit/f4f0a8c7540bb94af6a9b486baaa2a2fe67c5d04</a><br>
    </tt>
    <pre class="moz-signature" cols="72">-- 
regards
Aravinda
<a class="moz-txt-link-freetext" href="http://aravindavk.in">http://aravindavk.in</a>
</pre>
  </body>
</html>