Hi Ben,
thank you for your advices.
Please find comments inline.

Regards
Andi
On 09/18/2012 07:07 PM, Ben Pfaff wrote:
On Tue, Sep 18, 2012 at 06:11:56PM +0200, Andi wrote:
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.
ovs-dpctl doesn't display OpenFlow flows.  You can't use it this way.

ovs-ofctl displays OpenFlow flows.  Use "ovs-ofctl dump-flows" to show
the flow table.
In the dpctl help one finds
/dump-flows DP            display flows in DP/
Using this command with off-the shelf Nox it displays all flows. Anyway if I can do dpctl dump-flows br0 when I try ofctl dump-flows br0 it complains about non existing bridge or socket.
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?
It looks like you're trying to match on TCP/UDP ports 0 but didn't
specify a protocol.  That's probably a mistake
Yes very probably this is the mistake. I haven't used the wildcard.



--
-------------------------------------------------------------------------
*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@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to