Re: glusterfs development library

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



thank you very much<br/>This may not be the same for what I want, because it is mainly about file operations on a created volume,I want an api that can create,deleted,stop ...... volumes.<br/>But still thank you very much for responding to my email<br/><br/>chenx
At 2018-01-16 02:16:21, "Serkan Çoban" <cobanserkan@xxxxxxxxx> wrote:
>You should try libgfapi: https://libgfapi-python.readthedocs.io/en/latest/
>
>On Mon, Jan 15, 2018 at 9:01 PM, Marcin Dulak <marcin.dulak@xxxxxxxxx> wrote:
>> Maybe consider extending the functionality of
>> http://docs.ansible.com/ansible/latest/gluster_volume_module.html?
>>
>> Best regards,
>>
>> Marcin
>>
>> On Mon, Jan 15, 2018 at 11:53 AM, 陈曦 <mrchenx@xxxxxxx> wrote:
>>>
>>> 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。
>>> But,now ,I execute the glusterfs command using python's subprocess.popen
>>> function,such as subprocess.Popen(GLUSTER_CMD,
>>> shell=True,stdout=subprocess.PIPE, stderr=subprocess.PIPE)......
>>> But this does not feel like a good program, Because it has a serious
>>> dependence on the shell
>>> Is there a python or c library/function to execute the glusterfs
>>> command?So I can develop a better performance, more lightweight script. to
>>> achieve this optimization script
>>> thanks everyone.
>>>
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> Gluster-users mailing list
>>> Gluster-users@xxxxxxxxxxx
>>> http://lists.gluster.org/mailman/listinfo/gluster-users
>>
>>
>>
>> _______________________________________________
>> Gluster-users mailing list
>> Gluster-users@xxxxxxxxxxx
>> http://lists.gluster.org/mailman/listinfo/gluster-users
_______________________________________________
Gluster-users mailing list
Gluster-users@xxxxxxxxxxx
http://lists.gluster.org/mailman/listinfo/gluster-users




[Index of Archives]     [Gluster Development]     [Linux Filesytems Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux