<div dir="ltr"><div><br></div><div class="gmail_extra"><div class="gmail_quote">On Sat, Aug 30, 2014 at 9:12 PM, Prasad, Nirmal <span dir="ltr">&lt;<a href="mailto:nprasad@idirect.net" target="_blank">nprasad@idirect.net</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">





<div lang="EN-US" link="blue" vlink="purple">
<div>
<p class="MsoNormal">Hi,<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Is there any plan or interest in getting the management functions added to gfapi? – looks pretty much like the client library functions could be added.
<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">eg. the present libgfapi has glfs_mgmt.c with a few rpc messages exchanged with glusterd<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><a href="https://github.com/gluster/glusterfs/blob/master/api/src/glfs-mgmt.c" target="_blank">https://github.com/gluster/glusterfs/blob/master/api/src/glfs-mgmt.c</a><u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Any interest or plans to have more operations exposed (especially brick status change notifications to be propagated to applications)?  I’m wondering if gluster cli could be built on this library – it would involve taking the functionality
 that exists in the cli into a library and separating out the console interactions.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Thanks<u></u><u></u></p>
<p class="MsoNormal">Regards<span class=""><font color="#888888"><u></u><u></u></font></span></p><span class=""><font color="#888888">
<p class="MsoNormal">Nirmal<u></u><u></u></p>
</font></span></div>
</div>

<br>_______________________________________________<br>
Gluster-users mailing list<br>
<a href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a><br>
<a href="http://supercolony.gluster.org/mailman/listinfo/gluster-users" target="_blank">http://supercolony.gluster.org/mailman/listinfo/gluster-users</a><br></blockquote></div><div class="gmail_extra"><br></div><div class="gmail_extra">
<br></div>Hi Nirmal,<div><br></div><div>The file glfs_mgmt.c has only those functions which are required by the client stack of glusterfs to interact with</div><div>glusterd. The management here refers to interaction of the process/library with the glusterfs management daemon which is glusterd for its own purpose.</div>
<div><br></div><div>GFAPI is currently intended to be used only as a interface/api to the file glusterfs filesystem and not for management operations.</div><div><br></div><div>Do you have a specific requirement which would require such a feature from GFAPI?</div>
<div><br></div><div>There are other projects being developed to provide API for management operations like</div><div><a href="http://www.gluster.org/community/documentation/index.php/Features/rest-api">http://www.gluster.org/community/documentation/index.php/Features/rest-api</a></div>
<br clear="all"><div><br></div>-- <br><div dir="ltr"><font color="#666666"><b>Raghavendra Talur </b></font><div><br></div></div>
</div></div>