On Thu, Nov 15, 2018 at 10:17 AM <0pk0de(a)riseup.net> wrote:
After having integrated OVS with Ovirt and enabled it as default network
provider I am facing the following issues.
We are using OVN as network provider.
I can see with "ovs-vsctl show" that the virtual switch / bridge called
"br-int" is created. I can see interfaces being added / removed to it as I
start / stop VMs.
[root@******* ~]# ovs-vsctl show
Now I for example want to create a new interface as shown:
ip tuntap add mode tap sniff0
ovs-vsctl add-port br-int sniff0 -- --id=@p get port sniff0 -- --id=@m
create mirror name=m0 select-all=true output-port=@p -- set bridge br-int
Its created, but how do I assign this sniffing interface to a ovirt VM?
If I understand your intentions correctly from now on you just need to add
OVN network connected to physical 'sniff0'. This can be done via UI in
Networks -> New network -> Check "Create on physical network" ->
correct provider -> Change to "Custom" and type the 'sniff0' in the
textbox. From now on you can use vNIC profile of this network and assign it
to desired VM.
also, how can I create sniffing ports listening only on a subset of
interfaces if they get dynamically created / removed? vnet6 points to host
A now, but after shutting it down starting a few other VMs it will point to
Adding @Dominik <dholler(a)redhat.com>
How do I control to what vm the vnetX nic gets assigned?
Users mailing list -- users(a)ovirt.org
To unsubscribe send an email to users-leave(a)ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct:
Hopefully this helps.
Associate Software Engineer - rhv network
Red Hat EMEA <https://www.redhat.com/>
amusil(a)redhat.com IM: amusil