[Ovirt-devel] [PATCH server] Replaced the config scripts with configuration encoding.

Daniel P. Berrange berrange at redhat.com
Wed Oct 22 20:17:58 UTC 2008


On Mon, Oct 20, 2008 at 02:25:21PM -0400, Darryl L. Pierce wrote:
> Rather than sending the node a series of scripts that load
> kernel modules, or are tightly coupled to tools like augeas,
> this patch introduces an encoding scheme for data.
> 
> A line that begins with "bonding" describes a bonded interface.
> >From it the configuration processor generates a simple bonding
> file that includes an alias for the bonding kernel module
> 
> A line that begins with "ifcfg" describes an network
> interface. It will contain the mac address and interface name,
> followed by all needed configuration values to bring the
> interface up.

ACK, i think this looks good now. THough should we add some kind of version
number field in the data file. A simple "version=1.0" line would just be
sufficient to let us indicate changes in the future

Daniel
-- 
|: Red Hat, Engineering, London   -o-   http://people.redhat.com/berrange/ :|
|: http://libvirt.org  -o-  http://virt-manager.org  -o-  http://ovirt.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505  -o-  F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|




More information about the ovirt-devel mailing list