[Linux-ha-dev] [mgmt]Rewriting order and colocation configurations

Alan Robertson alanr at unix.sh
Sat Dec 8 07:54:11 MST 2007


Yan Gao wrote:
> I'm rewriting the order and colocation configurations of mgmt. Following
> features will be implemented:
> 
> 1. Get the crm.dtd file from server end.
> 
> 2. Dynamically adding gtk widgets for attributes of a type of elment
> completely according to the dtd definition.
> 
> 3. The Added widgets are different for CDATA or enum type of attributes
> to ensure the inputted values will be legal for dtd.
> 
> 4. Marking out the default values.
> 
> 5. The widgets for required or optional attributes will be put into
> different tables.
> 
> 6. Dynamically generating appropriate description for current setting.
> 
> 
> Hence all information in dtd can be exploited. In other words, it'll
> provide full features.
> I've been thinking of building up a general model for kinds of elements.
> And I'll try to unify the style of adding objects and viewing objects.
> 
> The following are some screenshots. Any comments will be appreciated.

I didn't look at your screenshots, but the ideas sound wonderful.  Also, 
you might look at using crmlint to validate the CIB you generate.  There 
is also information in ciblint which should definitely be of value to you.

I'm kind of focused on the release at the moment, so if you would also 
CC me directly, if you want to discuss this, that would help me.  Thanks!

-- 
     Alan Robertson <alanr at unix.sh>

"Openness is the foundation and preservative of friendship...  Let me 
claim from you at all times your undisguised opinions." - William 
Wilberforce


More information about the Linux-HA-Dev mailing list