[DRBD-user] Linstor-server v0.9.9, linstor-client 0.9.4

Roland Kammerer roland.kammerer at linbit.com
Thu May 23 15:40:40 CEST 2019


On Thu, May 23, 2019 at 02:36:30PM +0200, Rene Peinthor wrote:
> The client machine readable v0 output is nearly the same, just some child
> UUID objects are removed from the output, but we still recommend any script
> writer to directly use the REST-API and skip the client for such tasks.

Just some additions to that: If you are a script/plugin author, you
should use one of the existing libraries.

For Python projects this would
be python-linstor[1], and its high level API[2].

For go we are currently in the process to switch to a REST-client based
API. In this context REST-client are language bindings that use REST, it
has nothing to do with the command line client. This is the repo[3], I
basically finished writing the client, but we did not tag it yet.
Documentation can be found here[4].

If somebody writes a REST-client for Perl, I will buy this person a beer
(or beverage of choice), every time we meet in person :-D

Regards, rck

[1] https://github.com/LINBIT/linstor-api-py
[2]
https://linbit.github.io/linstor-api-py/introduction.html#code-samples-using-the-high-level-resource-api
[3] https://github.com/LINBIT/golinstor
[4] https://godoc.org/github.com/LINBIT/golinstor/client


More information about the drbd-user mailing list