On Sat, 1 Feb 2003 12:16:10 +0100 "Jaime Nebrera Herrera" <[EMAIL PROTECTED]> wrote:
> Hi all, > > I have been following the discussion about the need for a > "graphical" system to configure LEAF systems. As it has been already > commented, one of the daunting tasks is to be able to work through > the easy system and keep the power of direct editing. I work at Toshiba in the computer systems group and we have spent the last few years designing linux-based server appliances. Our system was built from the ground up after looking at e-smith, webmin, Cobalt Qube and others; we retained some of the concepts and ditched others, while adding others that were critical. Our system uses perl like e-smith, so it is unsuitable for use with leaf, but a similar system could be designed in shell (definitely non-trivial, but possible). It needs at a minimum the following components: 1) a centralized configuration "database" and "api" for adding and removing system configuration parameters, 2) a generalized templating mechanism - used not only for generating web forms for entry but also for piecing together system configuration files while interpolating values from the above configuration database 3) a generalized "single-threaded," queuing, system execution facility, mostly used to execute "triggers" or "events" when the centralized configuration is changed. Packages drop scripts into a specific "trigger" directory to be executed when the event they are interested in is triggered. Arguably, the toughest part of the implementation (without using perl) is the templating facility. The other two need to be thoughtfully and carefully designed, but they are fairly easy implementations, even in shell. If anyone wants to start kicking around design ideas, I would be glad to help. I will start working on the configuration database immediately. -- ----------------------------------------------------------------------- Chad Carr [EMAIL PROTECTED] -----------------------------------------------------------------------
msg06090/pgp00000.pgp
Description: PGP signature