Description
Allow per NIC port mirroring in OpenvSwitch driver. From RFP NFH 108
Proposed solution must support vSwitch port-mirroring features (applies also for CPU Accelerated vSwitch.):
Port Mirror Origin Definition:
- vNIC(s)
- VLAN(s)
- VNIC(s) & VLAN(s)
Port Mirror Destination (Delivery):
- ERSPAN type I, type II.
- RSPAN
Interface Changes
Mirroring configuration is established on the NIC element of the VM Template and VM Instance
Additional Context
Example configurations on the OVS doc https://docs.openvswitch.org/en/latest/faq/configuration/
Example mirror options
[root@sm15 ~]# ovs-vsctl list mirror
_uuid : 8b3c5630-27a4-480b-a691-68a3123a5d22
external_ids : {}
filter : []
name : m1
output_port : 6a53592f-5b41-43a9-9b43-8e9f8e1a8fc2
output_vlan : []
select_all : true
select_dst_port : []
select_src_port : []
select_vlan : []
snaplen : []
statistics : {}
Example mirror creation with everything forwarded
[root@sm15 ~]# ovs-vsctl add-port ovsbr0 gre1 -- set interface gre1 type=gre -- set interface gre1 options=remote_ip=10.0.1.15
[root@sm15 ~]# ovs-vsctl --id=@p get port gre1 -- --id=@m create mirror name=m1 select-all=true output-port=@p -- set bridge ovsbr0 mirrors=@m
Progress Status
Description
Allow per NIC port mirroring in OpenvSwitch driver. From RFP NFH 108
Proposed solution must support vSwitch port-mirroring features (applies also for CPU Accelerated vSwitch.):
Port Mirror Origin Definition:
Port Mirror Destination (Delivery):
Interface Changes
Mirroring configuration is established on the NIC element of the VM Template and VM Instance
Additional Context
Example configurations on the OVS doc https://docs.openvswitch.org/en/latest/faq/configuration/
Example mirror options
Example mirror creation with everything forwarded
Progress Status