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. Thanks, Heuye -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20120412/1d61864c/attachment.htm>
http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=blob_plain;f=WHY-OVS;hb=HEAD 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 Alex ----- Original Message ----- From: "yue wang" <heuye.wang at gmail.com> To: libvirt-users at redhat.com Sent: Thursday, April 12, 2012 3:35:00 PM Subject: [libvirt-users] 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. Thanks, Heuye _______________________________________________ libvirt-users mailing list libvirt-users at redhat.com https://www.redhat.com/mailman/listinfo/libvirt-users
Laine Stump
2012-Apr-13 14:14 UTC
[libvirt-users] help:any docs for open vswitch supporting?
On 04/12/2012 03:35 AM, yue wang wrote:> 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.It's a very new feature, only in libvirt-0.9.10 and newer. Here is the commit log that describes additions to the XML to configure an interface to use an openvswitch bridge: commit df8100463272c3c9a7a680d547b675ec277ed53e Author: Ansis Atteka <aatteka at nicira.com> Date: Fri Feb 10 23:09:00 2012 +0200 network: support Open vSwitch This patch allows libvirt to add interfaces to already existing Open vSwitch bridges. The following syntax in domain XML file can be used: <interface type='bridge'> <source bridge='ovsbr'/> <virtualport type='openvswitch'> <parameters interfaceid='921a80cd-e6de-5a2e-db9c-ab27f15a6e1d'/> </virtualport> </interface> or if libvirt should auto-generate the interfaceid use following syntax: <interface type='bridge'> <source bridge='ovsbr'/> <virtualport type='openvswitch'> </virtualport> </interface> It is also possible to pass an optional profileid. To do that use following syntax: <interface type='bridge'> <source bridge='ovsbr'/> <virtualport type='openvswitch'> <parameters interfaceid='921a80cd-e6de-5a2e-db9c-ab27f15a6e1d' profileid='test-profile'/> </virtualport> </interface> To create Open vSwitch bridge install Open vSwitch and run the following command: ovs-vsctl add-br ovsbr