From kgaillot at redhat.com Tue Mar 7 16:52:10 2023 From: kgaillot at redhat.com (Ken Gaillot) Date: Tue, 07 Mar 2023 15:52:10 -0600 Subject: [ClusterLabs Developers] Coming in Pacemaker 2.1.6: Python API Message-ID: <856fdd685af0a4362beb65c456f160388196a175.camel@redhat.com> Hi all, The first release candidate for Pacemaker 2.1.6 is expected to be released next month. A new feature will be Pacemaker's first formal Python API. Initially, the pacemaker module will just be a stub with two constant classes. The upstream RPM package will be python3-pacemaker. The pacemaker.BuildOptions class will have constants for the local deployment's build options such as where the Corosync config file is located and where CIB files will be saved. The pacemaker.ExitStatus class will have symbolic constants for the standard exit codes used by Pacemaker command-line tools. The Python API will not be a high priority, but over time it could become the home of Python-native equivalents of the high-level C interfaces in libpacemaker (which themselves are intended to be equivalents of the command-line tools). It may not be very useful yet, but it gives Python developers something to play with and provides a framework for future additions. -- Ken Gaillot