On 2007-06-12T03:33:33, Xinwei Hu <[EMAIL PROTECTED]> 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 ;-)


Regards,
    Lars

-- 
Teamlead Kernel, SuSE Labs, Research and Development
SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg)
"Experience is the name everyone gives to their mistakes." -- Oscar Wilde

_______________________________________________________
Linux-HA-Dev: Linux-HA-Dev@lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/

Reply via email to