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