pock
is a library that aims to make interacting with Pacemaker as simple as possible.
It has Python bindings, as well as a command-line interface based on
click. It's in an early stage of development, so
don't rely on it for anything critical.
Clone this repository:
git clone https://github.com/mechaxl/pock.git && cd pock/
And install using setuptools:
python setup.py install
pock resources list
import pock
pock.resources.list()