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

Yan Gao ygao at novell.com
Sat Dec 8 09:07:15 MST 2007


On Sat, 2007-12-08 at 07:54 -0700, Alan Robertson wrote:
> 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.
Sorry, I added the sreenshots in attachments.

>   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!

Thanks! It's a good tool. By now, haclient doesn't generate a xml file.
In the GUI, orignal comboboxes will be added for the attributes of enum
type. It'll just allow users to select a valid value from a list and
prevent them to input a invalid value. Any other validation checking
hasn't been implemented yet.


-- 
Yan Gao
China R&D Software Engineer
ygao at novell.com
+86 10 65339229

Novell, Inc.
SUSE® Linux Enterprise
Your Linux is ready
http://www.novell.com/linux
-------------- next part --------------
A non-text attachment was scrubbed...
Name: snapshot1-order-before.jpg
Type: image/jpeg
Size: 63570 bytes
Desc: not available
Url : http://lists.community.tummy.com/pipermail/linux-ha-dev/attachments/20071209/4359560b/snapshot1-order-before-0001.jpg
-------------- next part --------------
A non-text attachment was scrubbed...
Name: snapshot2-order-after-symfalse.jpg
Type: image/jpeg
Size: 61772 bytes
Desc: not available
Url : http://lists.community.tummy.com/pipermail/linux-ha-dev/attachments/20071209/4359560b/snapshot2-order-after-symfalse-0001.jpg
-------------- next part --------------
A non-text attachment was scrubbed...
Name: snapshot3-colo.jpg
Type: image/jpeg
Size: 69466 bytes
Desc: not available
Url : http://lists.community.tummy.com/pipermail/linux-ha-dev/attachments/20071209/4359560b/snapshot3-colo-0001.jpg
-------------- next part --------------
A non-text attachment was scrubbed...
Name: snapshot4-colo-symtrue.jpg
Type: image/jpeg
Size: 77709 bytes
Desc: not available
Url : http://lists.community.tummy.com/pipermail/linux-ha-dev/attachments/20071209/4359560b/snapshot4-colo-symtrue-0001.jpg


More information about the Linux-HA-Dev mailing list