Ask is moving to Stack Overflow and! Please use the "opendaylight" tag on either of these sites. This site is now in Read-Only mode


Mininet - ovs-ofctl Dump Flows Failed

asked 2016-03-09 23:38:51 -0700

karthik330 gravatar image

HI , i connected mininet with controller . When i am giving dump-flows command with -O Oenflow13 its giving error . Can anyone help me?

Also what is the difference between OFPSTFLOW reply (OF1.3) (xid=0x2): and NXSTFLOW reply (xid=0x4): ???

karthik@Karthik-Ubuntu:~$ sudo ovs-ofctl dump-flows s1 -O OpenFlow13

2016-03-10T13:00:46Z|00001|vconn|WARN|unix:/var/run/openvswitch/s1.mgmt: version negotiation failed (we support version 0x04, peer supports version 0x01) ovs-ofctl: s1: failed to connect to socket (Broken pipe)

karthik@Karthik-Ubuntu:~$ sudo ovs-ofctl dump-flows s1

NXSTFLOW reply (xid=0x4): cookie=0x2b00000000000006, duration=1016.418s, table=0, npackets=424, nbytes=76696, idleage=1, priority=2,inport=1 actions=output:2 cookie=0x2b00000000000007, duration=1016.418s, table=0, npackets=425, nbytes=76875, idleage=0, priority=2,inport=2 actions=output:1 cookie=0x2b00000000000002, duration=1022.26s, table=0, npackets=410, nbytes=34850, idleage=4, priority=100,dltype=0x88cc actions=CONTROLLER:65535 cookie=0x2b00000000000000, duration=1022.26s, table=0, npackets=45, nbytes=8110, idleage=1013, priority=0 actions=drop

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2016-03-10 06:08:51 -0700

michal.rehak gravatar image

Hi Karthik, your ovs runs OF1.0 protocol version and by -O OpenFlow13 you specified protocol version of client. These versions must be equal. You can run ovs in OF1.3 mode or use -O OpenFlow10 (default - so you can skip) by the ovs-ofctl.

Older versions of mininet start ovs in OF1.0 mode by default. I believe mininet-2.2.0 requires protocol version to be specified.

edit flag offensive delete publish link more


HI ,Its resolved by running ovs in OF1.3 mode ,command is sudo ovs-vsctl set bridge s1 protocols=OpenFlow13 . Thanks @michal.rehak

karthik330 ( 2016-03-21 21:53:49 -0700 )edit
Login/Signup to Answer

Question Tools

1 follower


Asked: 2016-03-09 23:38:51 -0700

Seen: 236 times

Last updated: Mar 10 '16