Re: help:any docs for open vswitch supporting?
|[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]|
2012/4/12 Wang Yue <heuye.wang@xxxxxxxxx>
but i think i did not describe my quenstions well.i already knew about OVS,and I want to know what libvirt did to support OVS,are there any new APIs?or something else.
after knowing this,I think I will know how to integrate OVS into my system using this libvirt new feature.Probably, the only option for you is to build libvirt from source, unless you are ok with using Fedora 17 Alpha (I believe this is the only mainstream distro that has the bleeding libvirt version, but I could be wrong on this). It should not matter what kind of OVS version you are using. The only restriction is that ovs-vsctl utility (from Open vSwitch) must be in the $PATH, because libvirt needs to call it.
Currently only bridged networks are supported, so you must create the OVS bridge beforehand:ovs-vsctl add-br ovsbr
The other thing you need to do is edit the Domain XML file:<interface type='bridge'>
</virtualport><address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>And then (re)start the VM.
To verify, if libvirt attached VM interface to the ovsbr as expected, you should run the following command and look for vnetX interface:ovs-vsctl show
Hope this helps.
在 2012年4月13日，0:32，Alex Jia <ajia@xxxxxxxxxx> 写道：
> For more information, please see http://openvswitch.org/ then join Open vSwitch Community by
> subscribing related mail listing such as http://mail.openvswitch.org/mailman/listinfo/discuss
> ----- Original Message -----
> From: "yue wang" <heuye.wang@xxxxxxxxx>
> To: libvirt-users@xxxxxxxxxx
> Sent: Thursday, April 12, 2012 3:35:00 PM
> Subject: help:any docs for open vswitch supporting?
> hi everybody, i saw the new feature: network: support Open vSwitch.
> how to use this feature? are there any documents about that? i didn't find it on the website.
> libvirt-users mailing list
libvirt-users mailing list
_______________________________________________ libvirt-users mailing list libvirt-users@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvirt-users
[Virt Tools] [Lib OS Info] [Fedora Users] [Fedora Maintainers] [Fedora Desktop] [Fedora SELinux] [Big List of Linux Books] [Yosemite News] [Yosemite Photos] [KDE Users] [Fedora Tools]