[prev in list] [next in list] [prev in thread] [next in thread] 

List:       drbd-user
Subject:    Re: [DRBD-user] Linstor-server v0.9.9, linstor-client 0.9.4
From:       Roland Kammerer <roland.kammerer () linbit ! com>
Date:       2019-05-23 13:40:40
Message-ID: 20190523134040.toowdvkychq47ke2 () rck ! sh
[Download RAW message or body]

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
_______________________________________________
drbd-user mailing list
drbd-user@lists.linbit.com
http://lists.linbit.com/mailman/listinfo/drbd-user
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic