<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jul 14, 2017 at 9:32 AM, Piotr Kliczewski <span dir="ltr"><<a href="mailto:piotr.kliczewski@gmail.com" target="_blank">piotr.kliczewski@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Fri, Jul 14, 2017 at 3:14 PM, Dan Kenigsberg <<a href="mailto:danken@redhat.com">danken@redhat.com</a>> wrote:<br>
> On Fri, Jul 14, 2017 at 3:11 PM, Piotr Kliczewski<br>
> <<a href="mailto:piotr.kliczewski@gmail.com">piotr.kliczewski@gmail.com</a>> wrote:<br>
>> All,<br>
>><br>
>> I pushed very simple jsonrpc go client [1] which allows to talk to<br>
>> vdsm. I had a request to create it but if there are more people<br>
>> willing to use it I am happy to maintain it.<br></span></blockquote><div><br></div><div>Awesome Piotr! Thanks for the great work.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">
>><br>
>> Please let me know if you find any issues with it or you have any<br>
>> feature requests.<br>
><br>
> Interesting. Which use case do you see for this client?<br>
> Currently, Vdsm has very few clients: Engine, vdsm-client, mom and<br>
> hosted-engine. Too often we forget about the non-Engine ones and break<br>
> them, so I'd be happy to learn more about a 5th.<br>
<br>
</span>Adam asked for the client for his storage related changes. I am not<br>
sure about specific use case.<br></blockquote><div><br></div><div>I am looking at implementing a vdsm flexvol driver for kubernetes. This would allow kubernetes pods to access vdsm volumes using the native PV and PVC mechanisms.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<span class=""><br>
><br>
> Regarding <a href="https://github.com/pkliczewski/vdsm-jsonrpc-go/blob/master/example/main.go" rel="noreferrer" target="_blank">https://github.com/<wbr>pkliczewski/vdsm-jsonrpc-go/<wbr>blob/master/example/main.go</a><br>
> : programming without exceptions and try-except is a pain. don't you<br>
> need to check the retval of Subscribe and disconnect on failure?<br>
<br>
</span>By no means example is not perfect and you are correct. I will fix.<br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Adam Litke</div></div>
</div></div>