On 7/23/23 05:30, PHAM THANH HAI 20191817 via discuss wrote:
> Hi,
> 
> I’m working with tunneling traffic (GENEVE and Vxlan). I have some VMs 
> connect with a OVS bridge. Traffic from VMs is both tunnel and non-tunnel. 
> Beside that, I have a Ryu controller to config qos for ports in bridge. I 
> want matching only tunnel traffic in OVS by flow. I know that OVS has 
> metadata fields like: tun_id, tun_src, tun_dst,… for tunnel traffic, but that 
> fields is only for tunnel port. I tried set ports which connect with VMs to 
> tunnel port with remote_ip is flow. But by that way, Ryu controller can’t 
> find and config this port.
> 
> So i want to ask: Does have any way to OVS matching tunnel traffic in 
> non-tunnel port or have any way to Ryu controller can find and config to 
> tunnel port?

Hi.  I'm not sure why your controller is not able to see tunnel ports,
they should be visible like any other ports.  But encapsulated packets
usually have specific UDP destination port numbers, so you should be
able to create OpenFlow rules that match on them, in case you just need
to forward these packets without decapsulation.

Best regards, Ilya Maximets.
_______________________________________________
discuss mailing list
disc...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss

Reply via email to