[ovs-discuss] Virsh XML definition & openvswith

Madko madko77 at gmail.com
Mon Jan 16 17:59:38 UTC 2017

Hi Scott,

maybe via libvirt hooks https://libvirt.org/hooks.html and also
http://libvirt.org/formatdomain.html#elementsNICSEthernet but I guess with
the ifup script you have to manually add the port to OVS etc

best regards,

Le lun. 16 janv. 2017 à 18:17, Scott Lowe <scott.lowe at scottlowe.org> a
écrit :

> On 01/16/2017 09:34 AM, Benoît wrote:
> > Hi,
> >
> > I am using ovs with virsh for VM under KVM, but I would like to
> > automatically start some commands when my VM is started (to start
> > mirroring for example) is there a way to do it or should I use a
> > workaround like a sh script ?
> Don't consider this a definitive answer, but I believe that you'd have
> to use a shell script. I checked the Libvirt network XML page
> (<http://libvirt.org/formatnetwork.html>) but didn't see any Libvirt XML
> definitions that would enable you to do this.
> If you do find a way to do it via Libvirt XML, please let me know. Thanks!
> --
> Scott
> _______________________________________________
> discuss mailing list
> discuss at openvswitch.org
> https://mail.openvswitch.org/mailman/listinfo/ovs-discuss
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openvswitch.org/pipermail/ovs-discuss/attachments/20170116/3a65f672/attachment.html>

More information about the discuss mailing list