[ClusterLabs Developers] FYI: Proposal for pacemaker API direction

Christopher Lumens clumens at redhat.com
Fri Mar 8 11:43:16 EST 2019


> Would it make sense to move useful functions/logic now in the tools into
> the external library, for example some functions now in crm_mon helping
> with parsing/displaying of cluster status? Eventually if the external
> library becomes very easy to be used and is simply exposed with
> python/go/whatever wrappers, any consumers would get the consistent
> functionality and even the current pacemaker CLIs would probably become
> thin wrappers as well.

That PR has now been merged in.  Check out lib/internal/, include/pcmki/,
and include/pacemaker-internal.h for what's in it at the moment.

If you have any favorite candidates for what else can get moved over, either
comment here or open an issue or PR on github and I'll take a look.

Thanks!

- Chris



More information about the Developers mailing list