Hi Justin,
yes, you are right. I should have seen that FAQ. Thank you.
Your guess is right the problem is that I didn't specify a wildcard.

Thank you
Regards,
Andi
On 09/18/2012 07:06 PM, Justin Pettit wrote:
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 <[email protected]> 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
[email protected]
http://openvswitch.org/mailman/listinfo/dev


--
-------------------------------------------------------------------------
*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
[email protected]
http://openvswitch.org/mailman/listinfo/dev

Reply via email to