[ovs-discuss] dump-flows and dump-aggregate don't work with openflow10 flow format

Nagi Reddy Jonnala njonnala at Brocade.com
Wed May 8 19:15:43 UTC 2013


I use the below OVS version

ovs-ofctl --version
ovs-ofctl (Open vSwitch) 1.7.1
Compiled Jan 14 2013 16:02:07
OpenFlow versions 0x1:0x1


I observe the below behavior/issues. I don't see any meaningful PDU going out to dump flow stats / aggregate stats.


$ovs-ofctl --flow-format openflow10 dump-aggregate tcp:10.25.129.5 " in_port=1" -v
2013-05-08T19:13:08Z|00001|poll_loop|DBG|wakeup due to [POLLOUT] on fd 5 (10.20.99.23:34628<->10.25.129.5:6633) at lib/stream-fd.c:139
2013-05-08T19:13:08Z|00002|vconn|DBG|tcp:10.25.129.5:6633: sent (Success): OFPT_HELLO (xid=0x1):
2013-05-08T19:13:08Z|00003|poll_loop|DBG|wakeup due to [POLLIN] on fd 5 (10.20.99.23:34628<->10.25.129.5:6633) at lib/stream-fd.c:143
2013-05-08T19:13:08Z|00004|vconn|DBG|tcp:10.25.129.5:6633: received: OFPT_HELLO (xid=0x1):
2013-05-08T19:13:08Z|00005|vconn|DBG|tcp:10.25.129.5:6633: negotiated OpenFlow version 0x01 (we support versions 0x01 to 0x01 inclusive, peer no later than version 0x01)
2013-05-08T19:13:08Z|00006|poll_loop|DBG|wakeup due to [POLLERR][POLLHUP] on fd 7 (10.20.99.23:34629<->) at lib/stream-fd.c:139
ovs-ofctl: connecting to tcp:10.25.129.5 (Connection refused)

ovs-ofctl --flow-format openflow10  dump-flows tcp:10.25.129.5 " in_port=1" -v
2013-05-08T19:13:19Z|00001|poll_loop|DBG|wakeup due to [POLLOUT] on fd 5 (10.20.99.23:34630<->10.25.129.5:6633) at lib/stream-fd.c:139
2013-05-08T19:13:19Z|00002|vconn|DBG|tcp:10.25.129.5:6633: sent (Success): OFPT_HELLO (xid=0x1):
2013-05-08T19:13:19Z|00003|poll_loop|DBG|wakeup due to [POLLIN] on fd 5 (10.20.99.23:34630<->10.25.129.5:6633) at lib/stream-fd.c:143
2013-05-08T19:13:19Z|00004|vconn|DBG|tcp:10.25.129.5:6633: received: OFPT_HELLO (xid=0x1):
2013-05-08T19:13:19Z|00005|vconn|DBG|tcp:10.25.129.5:6633: negotiated OpenFlow version 0x01 (we support versions 0x01 to 0x01 inclusive, peer no later than version 0x01)
2013-05-08T19:13:19Z|00006|poll_loop|DBG|wakeup due to [POLLERR][POLLHUP] on fd 7 (10.20.99.23:34631<->) at lib/stream-fd.c:139
ovs-ofctl: connecting to tcp:10.25.129.5 (Connection refused)


I was using an older version of OVS  (to the above mentioned) found that the above commands generating the below which appears incorrect

May 08 12:02:11|00006|vconn|DBG|tcp:10.25.129.5:6633: sent (Success): NXT_SET_FLOW_FORMAT (xid=0x2): format=openflow10


Thanks
Nagi

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20130508/61fb6846/attachment.html>


More information about the discuss mailing list