[Linux-ha-dev] Pure Python version of haclient ?
beekhof at gmail.com
Mon Jun 11 15:13:25 MDT 2007
On 6/11/07, Lars Marowsky-Bree <lmb at suse.de> wrote:
> On 2007-06-12T03:33:33, Xinwei Hu <hxinwei at gmail.com> wrote:
> > Hi all,
> > I'm trying to run haclient on the Windows platform. The biggest difficulty
> > is to port the C code of lib/mgmt to mingw/cygwin platform.
> > A much eaiser step, which I take now, is to rewrite the client part of
> > lib/mgmt in pure python (ctypes + gnutls binding). The windows version of
> > haclient now works with minimum modification (popen(uuidgen) is replaced with
> > uuid.uuid4()). :)
> > As this change will impose some extra dependencies on python and python
> > libraries, I'd like to know your comments on this :)
> > The source code is under cleaning up, I'll send it out soon.
> SWIG should be able to help you quite a bit there.
> Further, Andrew has a gnutls based interface directly to the CIB, just
> in case you want to do away with the mgmtd stuff ;-)
More information about the Linux-HA-Dev