On 09/18/2012 11:26 PM, Ben Pfaff wrote:
On Tue, Sep 18, 2012 at 11:29:55PM +0200, Andi wrote:
On 09/18/2012 11:23 PM, Ben Pfaff wrote:
On Tue, Sep 18, 2012 at 11:24:52PM +0200, Andi wrote:
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.
Is the program named dpctl or ovs-dpctl? If it's dpctl then you're
not using Open vSwitch but something else.
ovs-dpctl sorry
OK, then what you're saying doesn't make sense and you will have to
provide an example.
switch2:/hosthome/OF/openvswitch/build/bin# ./ovs-ofctl dump-flows br0
ovs-ofctl: br0 is not a bridge or a socket
switch2:/hosthome/OF/openvswitch/build/bin# ./ovs-dpctl dump-flows br0
in_port(2),eth(src=c6:10:36:4a:20:7f,dst=a6:8a:d7:63:1e:49),eth_type(0x0800),ipv4(src=192.168.20.2,dst=192.168.10.2,proto=1,tos=0,ttl=64,frag=no),icmp(type=0,code=0),
packets:10, bytes:980, used:0.089s, actions:1
in_port(2),eth(src=c6:10:36:4a:20:7f,dst=a6:8a:d7:63:1e:49),eth_type(0x0806),arp(sip=192.168.20.2,tip=192.168.10.2,op=1,sha=c6:10:36:4a:20:7f,tha=00:00:00:00:00:00),
packets:0, bytes:0, used:never, actions:1
in_port(1),eth(src=a6:8a:d7:63:1e:49,dst=c6:10:36:4a:20:7f),eth_type(0x0806),arp(sip=192.168.10.2,tip=192.168.20.2,op=2,sha=a6:8a:d7:63:1e:49,tha=c6:10:36:4a:20:7f),
packets:0, bytes:0, used:never, actions:2
in_port(1),eth(src=a6:8a:d7:63:1e:49,dst=c6:10:36:4a:20:7f),eth_type(0x0800),ipv4(src=192.168.10.2,dst=192.168.20.2,proto=1,tos=0,ttl=64,frag=no),icmp(type=8,code=0),
packets:10, bytes:980, used:0.089s, actions:2
--
-------------------------------------------------------------------------
*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