From: Daniel P. Berrange <berrange redhat com>
To: Shahar Klein <shaharklein yahoo com>
Cc: Laine Stump <laine laine org>; libvir-list redhat com
Sent: Thursday, June 25, 2009 12:16:47 PM
[libvirt] hooking a physical nic to a bridge with net-create
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.
|: Red Hat, Engineering, London -o- http://people.redhat.com/berrange/
|: GnuPG: 7D3B9505 -o- F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505