[libvirt] RFC: configuring host interfaces with libvirt
Richard W.M. Jones
rjones at redhat.com
Fri Jan 16 12:44:21 UTC 2009
On Fri, Jan 16, 2009 at 12:41:42PM +0000, Daniel P. Berrange wrote:
> On Fri, Jan 16, 2009 at 12:35:55PM +0000, Richard W.M. Jones wrote:
> > On Fri, Jan 16, 2009 at 01:13:18AM +0000, David Lutterkort wrote:
> > > For certain applications, we want libvirt to be able to configure host
> > > network interfaces in a variety of ways; currently, we are most
> > > interested in teaching libvirt how to set up ordinary ethernet
> > > interfaces, bridges, bonding and vlan's.
> > [...]
> > > 3. Implementation
> > > =================
> > >
> > > Configuring network interfaces is highly OS and OS-variant/distro
> > > dependant. There are at least two different ways how libvirt can go about
> > > modifying the host to create interfaces:
> > >
> > > 1. Modify the system's network setup scripts (ifcfg-XXX on RH)
> > >
> > > 2. Directly use the system's network utilities like ifconfig
> > >
> > > 3. Rely on NetworkManager (not an option right now, as NM doesn't know
> > > about bridges and the like)
> >
> > I must be missing something here ... how can libvirt modify stuff
> > inside the guest?
>
> It can't - this is all about configuring & managing networking on the
> host OS.
Well OK then, how does the information get passed into the guest?
Rich.
--
Richard Jones, Emerging Technologies, Red Hat http://et.redhat.com/~rjones
virt-df lists disk usage of guests without needing to install any
software inside the virtual machine. Supports Linux and Windows.
http://et.redhat.com/~rjones/virt-df/
More information about the libvir-list
mailing list