Thank you, Nick!

On 03/12/11 21:27, Nick Khamis wrote:
> This is a much better solution to have than using shell scripts in more ways
> than one. We can now have concepts such as abstracting outwards, object
> oriented etc... I would be interested in contributing to a "Shell OCF -> 
> Python
> OCF converstion". I come from a strong C, C++, and Java background, and
> Python should not be a problem.
You are welcome.

The inqbus.ocf dockumentation at the moment lacks a developer guide and a API 
description.
But I have build everything as straight forward as I can and the existing agent 
classes are a good example.
So an advanced programmer like you should have no problems in writing OCF 
Agents with the framework.

The most important part will be the testing code which strongly depends on the 
kind of the agent.

I also think that it will be a good idea to use the power of abstraction and 
object orientation
where we can take use of it. Instead of building e.g. an RA which brings up a 
single IP as for instance the ipaddr2
RA we should build at first abstract network RA base classes which know about 
networking and have accompanied testing facilities
that may simulate typical network situations and network configuration problems.

>From this abstract bases the concrete RA Agents may be derived.

Every time a new 'cloud' of RA agents has formed e.g. networking agents I will 
package them into a separate python package
e.g. inqbus.ocf.network-agents.
> Interesting Project,
Thank you, again.

Volker

-- 

====================================================
   inqbus GmbH & Co. KG      +49 ( 341 ) 60013031
   Dr.  Volker Jaenisch      http://www.inqbus.de
   Karl-Heine-Str.   99      0 4 2 2 9    Leipzig
   N  O  T -  F Ä L L E      +49 ( 170 )  3113748
====================================================

_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to