On Tue, Feb 14, 2012 at 8:56 AM,  <ravi.ke...@telekom.com> wrote:
> Hi Jesse,
>
> I tried setting different priority still same results.
>
> Following flows entries are programmed
>
> root@rkerur-ThinkPad-T400:~# ovs-ofctl dump-flows br0
> NXST_FLOW reply (xid=0x4):
>  cookie=0x0, duration=27.143s, table=0, n_packets=0, n_bytes=0,
> idle_timeout=50000,idle_age=27,priority=100,dl_vlan=1, 
> actions=strip_vlan,output:1
>  cookie=0x0, duration=27.144s, table=0, n_packets=0, n_bytes=0,
> idle_timeout=50000,idle_age=27,priority=10,arp actions=NORMAL
>
>
> After couple of vlan packets sent, no flow matched.

I would do an ovs-dpctl dump-flows while the traffic is running to see
what OVS thinks the packet looks like.

> root@ravi-ThinkPad-T400:~# ovs-ofctl dump-flows br0
> NXST_FLOW reply (xid=0x4):
>  cookie=0x0, duration=55.596s, table=0, n_packets=0, n_bytes=0,
> idle_timeout=50000,idle_age=55,priority=100,dl_vlan=1,
> actions=strip_vlan,output:1
>  cookie=0x0, duration=55.597s, table=0, n_packets=0, n_bytes=0,
> idle_timeout=50000,idle_age=55,priority=10,arp actions=NORMAL
> root@ravi-ThinkPad-T400:~#
>
> Assuming flows with same priority behavior is undefined, it is still unclear 
> to me why a vlan/ipv4 packet would match dl_type=0x0806 in the previous 
> config?

Sorry, I missed the "arp" in your previous flow definition, which is
why I said that it matched both flows with the same priority.
Disjoint flows with the same priority is fine.

> Tcpdump show packets are sent out so looks like default action is to send out 
> the packet.

No.  The "where" to send the packet also comes from OpenFlow so
without matching a flow it's not possible to send the packet.  I
suspect that you're seeing something else, which might also be why
it's not matching.  You mentioned packet-out before, is that how
you're creating the packet?  If so, what actions are you using?
_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to