[ClusterLabs] Antw: Proposal for machine-friendly output from Pacemaker tools
Ulrich.Windl at rz.uni-regensburg.de
Tue Jan 8 02:01:53 EST 2019
>>> Ken Gaillot <kgaillot at redhat.com> schrieb am 08.01.2019 um 00:52 in
<aee0cc2cc9720b030c1bdabca9f1ce9e61dabe6b.camel at redhat.com>:
> There has been some discussion in the past about generating more
> machine‑friendly output from pacemaker CLI tools for scripting and
> high‑level interfaces, as well as possibly adding a pacemaker REST API.
Interesting: XML being designed for automatic processing is the format used
internally already. However the XML structure is so badly designed that it's
very hard to use for automatic processing. So probably the output format would
be XML again, just in a usable shape IMHO ;-)
> I've filed an RFE BZ
> to design an output interface that would suit these goals. An actual
> REST API is not planned at this point, but this would provide a key
> component of any future implementation.
> The question is what machine‑friendly output should look like. The
> basic idea is: for commands like "crm_resource ‑‑constraints" or
> "stonith_admin ‑‑history", what output format would be most useful for
> a GUI or other program to parse?
> Suggestions welcome here and/or on the bz ...
> Ken Gaillot <kgaillot at redhat.com>
> Users mailing list: Users at clusterlabs.org
> Project Home: http://www.clusterlabs.org
> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> Bugs: http://bugs.clusterlabs.org
More information about the Users