[libvirt] hooking a physical nic to a bridge with net-create

Daniel P. Berrange berrange at redhat.com
Thu Jun 25 09:16:47 UTC 2009


On Wed, Jun 24, 2009 at 09:05:40PM -0700, Shahar Klein wrote:
> I tried the virInterface that is already in 0.6.4
> but got this:
> libvir: error : this function is not supported by the hypervisor: virInterfaceDefineXML
> ERROR virInterfaceDefineXML
> 
> Can I use netcf just to get the feeling of it?

Of course, the code is available there..

  https://fedorahosted.org/netcf/

We simply haven't finish plugging it into libvirt

> I mean use netcf as an admin user
> i.e. define an XML that for example say somthing like that:
> "define tap device tap8 and vlan 3888 over bond1 and add these two to bridge br12"
> can I do that with netcf?

netcf doesn't concern itself with TAP devices - those are related to
guest domains. netcf does allow you to configure anything you would
traditionally do via /etc/sysconfig/network-scripts (or /etc/network
on Debian). So creating bridges on VLANs over bond devices, and
that kind of thing.

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 libvir-list mailing list