<br><br>On Wednesday 3 August 2016, Vijay Bellur <<a href="mailto:vbellur@redhat.com">vbellur@redhat.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 08/02/2016 11:24 AM, Pranith Kumar Karampuri wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
<br>
On Tue, Aug 2, 2016 at 8:21 PM, Vijay Bellur <<a>vbellur@redhat.com</a><br>
<mailto:<a>vbellur@redhat.com</a>>> wrote:<br>
<br>
On 08/02/2016 07:27 AM, Aravinda wrote:<br>
<br>
Hi,<br>
<br>
As many of you aware, Gluster Eventing feature is available in<br>
Master.<br>
To add support to listen to the Events from GlusterFS Clients<br>
following<br>
changes are identified<br>
<br>
- Change in Eventsd to listen to tcp socket instead of Unix domain<br>
socket. This enables Client to send message to Eventsd running in<br>
Storage node.<br>
- On Client connection, share Port and Token details with Xdata<br>
- Client gf_event will connect to this port and pushes the<br>
event(Includes Token)<br>
- Eventsd validates Token, publishes events only if Token is valid.<br>
<br>
<br>
Is there a lifetime/renewal associated with this token? Are there<br>
more details on how token management is being done? Sorry if these<br>
are repeat questions as I might have missed something along the<br>
review trail!<br>
<br>
<br>
At least in the discussion it didn't seem like we needed any new tokens<br>
once it is generated. Do you have any usecase?<br>
<br>
</blockquote>
<br>
No specific usecase right now but I am interested in understanding more details about token lifecycle management. Are we planning to use the same token infrastructure described in Authentication section of [1]?</blockquote><div><br></div><div>I think this token is generated once and persisted. So we really dont need to regenerate it.</div><div><span></span> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Thanks,<br>
Vijay<br>
<br>
[1] <a href="http://review.gluster.org/#/c/13214/6/under_review/management_rest_api.md" target="_blank">http://review.gluster.org/#/c/13214/6/under_review/management_rest_api.md</a><br>
_______________________________________________<br>
Gluster-devel mailing list<br>
<a>Gluster-devel@gluster.org</a><br>
<a href="http://www.gluster.org/mailman/listinfo/gluster-devel" target="_blank">http://www.gluster.org/mailman/listinfo/gluster-devel</a><br>
</blockquote><br><br>-- <br>--Atin<br>