On 2008-10-07T23:33:14, Xinwei Hu <[EMAIL PROTECTED]> wrote:
> em.
> Not always so. GUI calls the crm shell in a lot of scenarios.
Exactly. But it should be so. At least, I'd like it to be so ;-)
Calling the crm shell and logging which commands were called, instead of
directly modifying the XML via the CIB libraries, allows users to use
the log from the GUI for building up their own setup scripts, improves
traceability & debugging, and ensures uniformity between GUI and CLI.
> But still, it provides an XML view so that user can interact with xml
> snip directly.
Sure. If users edit the XML directly, this is not directly possible -
though even then the GUI could use the CLI to update the (shadow) CIB
and commit changes.
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: [email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/