[ovs-discuss] Layer 1 Flow Rules in Datapath Problem

Jesse Gross jesse at nicira.com
Mon Feb 3 18:48:34 UTC 2014


On Mon, Feb 3, 2014 at 5:36 AM, Anton Matsiuk <anton.matsiuk at gmail.com> wrote:
> Dear all,
>
> I install Layer 1 Flow Rules (namely: Port 1 ->Port 2, Port 2 -> Port 1)
> from Open Flow controller (as well as through ovs-ofctl):
> ovs-ofctl add-flow br0 in_port=1,idle_timeout=0,actions=output:2
> I use 1000 test L4 UDP flows (with various dst.ports) to test the Switch
> with 1000 of packets in each 64 bytes size and ~0.2 Mpps rate
>
> 1. When I put test traffic into incoming port I see that it installs 1000
> flows into its datapath with L4 granularity:
>
> in_port(2),eth(src=00:9c:02:ad:4e:1e,dst=00:9c:02:ad:4e:22),eth_type(0x0800),ipv4(src=10.0.0.1,dst=10.0.0.2,proto=17,tos=0,ttl=64,frag=no),udp(src=33864,dst=10864),
> packets:350, bytes:21000, used:-0.004s, actions:1,3
>
> Is it correct behavior of OVS's internal logic? Shiould datapath install L1
> flows or L4 flows in such case? I use ovs_version: "2.0.0"

Are you also using the kernel module shipped with OVS 2.0?



More information about the discuss mailing list