thank you very much, I will attention to it<br><br>chenx<br><br>At 2018-01-16 02:01:21, "Marcin Dulak" &lt;marcin.dulak@gmail.com&gt; wrote:<br> <blockquote id="isReplyContent" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid"><div dir="ltr">Maybe consider extending the functionality of <a href="http://docs.ansible.com/ansible/latest/gluster_volume_module.html">http://docs.ansible.com/ansible/latest/gluster_volume_module.html</a>?<br><div><br></div><div>Best regards,</div><div><br></div><div>Marcin</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jan 15, 2018 at 11:53 AM, 陈曦 <span dir="ltr">&lt;<a href="mailto:mrchenx@126.com" target="_blank">mrchenx@126.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><div>I want to write a python script and visual interface to manage glusterfs, such as creating and deleting volumes.This can be easier to manage glusterfs。</div><div>But,now ,I execute the glusterfs command using python's subprocess.popen&nbsp;function,such as&nbsp;subprocess.Popen(GLUSTER_<wbr>CMD, shell=True,stdout=subprocess.<wbr>PIPE, stderr=subprocess.PIPE)......</wbr></wbr></div><div>But this does not feel like a good program, Because it has a serious dependence on the shell</div><div>Is there a python or c library/function to execute the glusterfs command?So I can develop a better performance, more lightweight script.&nbsp;to achieve this optimization script</div><div>thanks everyone.</div></div><br><br><span title="neteasefooter"><p>&nbsp;</p></span><br>______________________________<wbr>_________________<br>
Gluster-users mailing list<br>
<a href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a><br>
<a href="http://lists.gluster.org/mailman/listinfo/gluster-users" rel="noreferrer" target="_blank">http://lists.gluster.org/<wbr>mailman/listinfo/gluster-users</wbr></a><br></wbr></blockquote></div><br></div>
</blockquote><br><br><span title="neteasefooter"><p>&nbsp;</p></span>