[libvirt] Unable to provision VM attaching it directly to a OVS bridge

Laine Stump laine at laine.org
Thu Oct 31 08:37:54 UTC 2013


On 10/30/2013 04:46 PM, Lucas Brasilino wrote:
> Laine Stump wrote:
>> AFAIK, virt-install has no method of specifying the <virtualport>
>> parameters for an interface. What you're asking for here is an interface
>> definition of:
> Yes, up to version 0.10. there's not.
>
>> As long as the OVS service is running this should do what you want
>> (although you'll later probably want to add a "<virtualport
>> type='openvswitch'> element to the domain's <interface> element, so that
>> libvirt generates/stores a permanent interface-id for the domain rather
>> than generating a new one each time the domain is started).
> Maybe should be a good idea to add a support of defining "<virtualport
> type='openvswitch'>" using
> the API, shouldn't it ?

If you mean adding support for specification of virtualport and its
attributes to the virt-install commandline, then yes. As always, patches
are welcome :-)




More information about the libvir-list mailing list