On Fri, Jul 14, 2017 at 3:14 PM, Dan Kenigsberg <[email protected]> wrote: > On Fri, Jul 14, 2017 at 3:11 PM, Piotr Kliczewski > <[email protected]> wrote: >> All, >> >> I pushed very simple jsonrpc go client [1] which allows to talk to >> vdsm. I had a request to create it but if there are more people >> willing to use it I am happy to maintain it. >> >> Please let me know if you find any issues with it or you have any >> feature requests. > > Interesting. Which use case do you see for this client? > Currently, Vdsm has very few clients: Engine, vdsm-client, mom and > hosted-engine. Too often we forget about the non-Engine ones and break > them, so I'd be happy to learn more about a 5th.
Adam asked for the client for his storage related changes. I am not sure about specific use case. > > Regarding > https://github.com/pkliczewski/vdsm-jsonrpc-go/blob/master/example/main.go > : programming without exceptions and try-except is a pain. don't you > need to check the retval of Subscribe and disconnect on failure? By no means example is not perfect and you are correct. I will fix. _______________________________________________ Devel mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/devel
