[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [libvirt] [PATCH 0/9] network: properly support openvswitch in <network>



I just looked at this series and it looks great to me Laine. I think the
new flexibility this series introduces will be really nice to have, and
it will make starting guests across hosts with differing network
types easier as well.

Thanks!
Kyle

On Aug 5, 2012, at 12:16 AM, Laine Stump wrote:

> Although it's been possible (ever since openvswitch was added to
> libvirt in 0.9.11) for a libvirt network to use an openvswitch bridge
> (by adding <virtualport type='openvswitch'>), the virtualport in the
> network would always have a default random interfaceid included, which
> would be re-used for all interfaces using that network, which doesn't
> really work at all. The alternative was to not specify openvswitch in
> the <network> definition, but to do it in the guest's <interface>
> definition instead - this of course goes against the principle of not
> having host-specific config embedded in guest config.
> 
> This patch series enhances the functionality of <virtualport>
> elements, to allow omitting some attributes (and even the type), and
> to merge the interface, network, and portgroup virtualports rather
> than simply picking one. This not only makes openvswitch <network>s
> more practical (because the network can specify type='openvswitch'
> without also specifying an interfaceid), but also makes <virtualport>
> in networks and portgroups more useful in general - for example, an
> interface can specify an interfaceid (used only by openvswitch) *and*
> an instanceid (used only by 802.1Qbh), while the network's virtualport
> specifies only the type, and the portgroups specify the managerid,
> typeid, profileid, or whatever is appropriate for the type of switch
> used by the network.
> 
> The result is that the guest config can be completely devoid of
> knowledge about the type of switch being used on the hardware, but can
> still enjoy full configurability for whatever switch ends up being
> used.
> 
> --
> libvir-list mailing list
> libvir-list redhat com
> https://www.redhat.com/mailman/listinfo/libvir-list



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]