[Please keep such technical discussions on list, so others can correct
me or might have better ideas.]
On Tue, Oct 28, 2014 at 06:08:02PM +0100, Anna Giannakou wrote:
Thank you for the quick reply. I tried to remove the
<virtualport
type='openvswitch'/> line from the network xml and now the network is
created. However when i try to launch the vm with virt-install i get
again the error Unable to add bridge snort port vnet0: Operation not
supported which was what led me to upgrade my libvirt version
Any other ideas?
Sorry, I don't have an immediate test env to try this, maybe you can
examine your debug logs to see if you find more meaningful clues
log_level = 1
log_outputs="1:file:/var/tmp/libvirtd.log"
in /etc/libvirt/libvirtd.conf
Restart libvirtd. (And, don't forget to turn it off, once you finish
your debugging - it'll fill your disk space pretty quickly, otherwise.)
--
/kashyap
----- Original Message -----
> From: "Kashyap Chamarthy" <kchamart(a)redhat.com>
> To: "Anna Giannakou" <anna.giannakou(a)inria.fr>
> Cc: libvirt-users(a)redhat.com
> Sent: Tuesday, 28 October, 2014 5:46:46 PM
> Subject: Re: [libvirt-users] problem with libvirt and ovs bridge
>
> On Tue, Oct 28, 2014 at 05:32:58PM +0100, Anna Giannakou wrote:
> > Hello,
> > I have created an ovs bridge on which i have attached a port. I would like
> > to connect my vm to that port,so i have created an xml defining the
> > network.
> > The xml is:
> > <network>
> > <name>ovs-snort</name>
> > <forward mode='bridge'/>
> > <bridge name='snort'/>
> > <virtualport type='openvswitch'/>
> > </network>
> > but when i do virsh net-define /tmp/ovsnetwork.xml i get the error
> > error: XML error: unexpected virtualport type -1
> > My libvirt version is 1.2.9
> > Can you guide me through that?
> >
>
> Hmm, I haven't tested this lately, but here's some old notes on Libvirt
> and Open vSwitch:
>
>
http://kashyapc.com/2013/07/13/configuring-libvirt-guests-with-an-open-vs...
>
> And a related thread from libvirt users list:
>
>
https://www.redhat.com/archives/libvirt-users/2013-April/msg00044.html
>
>
> --
> /kashyap
>