[ovs-dev] Problem adding flows openvswitch

Justin Pettit jpettit at nicira.com
Tue Sep 18 17:06:28 UTC 2012


OVS is "normalizing" your flows.  The FAQ talks about this:

	http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=blob_plain;f=FAQ

My guess is that you intended to set the nw_proto to a valid value (not 0) or wildcard it.

--Justin


On Sep 18, 2012, at 9:11 AM, Andi <andi at dis.uniroma1.it> wrote:

> Hello all,
> I am having some trouble in adding flow table entries with openvswitch. I am using nox with some modifications on it and when I submit flow mod message the switches appear to accept the packet (all the methods to add the flow entry return 0), but when I use ovs-dpctl dump-flows br0 it has no flows installed. 
> The vswitch daemon prints out:
> 2012-09-18T15:52:56Z|00114|ofp_util|INFO| pre: priority=65535,ip,in_port=2,dl_vlan=0,dl_vlan_pcp=0,dl_src=ff:ff:ff:ff:ff:ff,dl_dst=ff:ff:ff:ff:ff:ff,nw_src=192.168.20.2,nw_dst=192.168.10.2,nw_proto=0,nw_tos=0,tp_src=0,tp_dst=0
> 2012-09-18T15:52:56Z|00115|ofp_util|INFO|post: priority=65535,ip,in_port=2,dl_vlan=0,dl_vlan_pcp=0,dl_src=ff:ff:ff:ff:ff:ff,dl_dst=ff:ff:ff:ff:ff:ff,nw_src=192.168.20.2,nw_dst=192.168.10.2,nw_proto=0,nw_tos=0
> 
> Is this correct?
> 
> Thanks in advace,
> Andi
> -- 
> -------------------------------------------------------------------------
> University of Rome "La Sapienza"
> 
> Ing Andi Palo
> PhD student
> Department of Computer, Control and Management Engineering (DIAG)
> 
> Via Ariosto, 25 - 00185 Rome - Italy
> Tel: +39 06 77274034
> _______________________________________________
> dev mailing list
> dev at openvswitch.org
> http://openvswitch.org/mailman/listinfo/dev




More information about the dev mailing list