[Pacemaker] python bindings

Nikola Ciprich extmaillist at linuxbox.cz
Tue Jul 7 12:39:31 UTC 2009


Hello,
I would like to do some extensive scripting with python and pacemaker. 
According to what I've discovered so far, it seems that there are at least
two implemented python "bindings" - one in Dejan's crm shell and one in
Yan's mgmt package. I'm wandering if it maybe might make sense to start
project on creating separate set of python bindings which could be usable
by both those projects as well as others.
In such case, what would be the best way of creating those bindings? 
I'm considering either reusing the existing code (either from crm, or mgmt)
or creating it from scratch...
And is it better to use mgmt interface, or rather parse commands output? (I 
don'r really like the latter variant)
Anyways, any suggestion would be appreciated!
thanks!
nik

-- 
-------------------------------------
Nikola CIPRICH
LinuxBox.cz, s.r.o.
28. rijna 168, 709 01 Ostrava

tel.:   +420 596 603 142
fax:    +420 596 621 273
mobil:  +420 777 093 799
www.linuxbox.cz

mobil servis: +420 737 238 656
email servis: servis at linuxbox.cz
-------------------------------------




More information about the Pacemaker mailing list