[libvirt] RFC: configuring host interfaces with libvirt

Richard W.M. Jones rjones at redhat.com
Fri Jan 16 12:35:55 UTC 2009


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?

Rich.

-- 
Richard Jones, Emerging Technologies, Red Hat  http://et.redhat.com/~rjones
virt-top is 'top' for virtual machines.  Tiny program with many
powerful monitoring features, net stats, disk stats, logging, etc.
http://et.redhat.com/~rjones/virt-top




More information about the libvir-list mailing list