ODL-Lithium-SR2: Flow Statistics

asked 2016-02-20 02:18:16 -0700

citar88 gravatar image

updated 2016-02-20 08:15:32 -0700

Hi, I'm using ODL-Lithium-SR2 and I would like to capture Flow Statistics from the switches in my Mininet network. In the Mininet network there is a UDP flow (CBR traffic) from host h1 (IP: to host h3 (IP: through s1, s2, s3 switches (h1 is linked to s1, h3 is linked to s3). Features installed are: feature:install odl-ovsdb-openstack odl-restconf-all odl-l2switch-switch odl-mdsal-apidocs odl-dlux-core. The OpenFlow version is 1.3 and when I read the pcap file (from a tcpdump traffic capture) from Wireshark I use the openflow_v4 filter.

I can obtain flow info by using the following Restconf API (Flow Statistics): <hostIP>:8080/restconf/operational/opendaylight-inventory:nodes/node/openflow:<dpid>/table/0/

After launching the API I can see (in Wireshark) some OFTP_MULTIPART_REQUEST - OFPMP_FLOW and OFTP_MULTIPART_REPLY - OFPMP_FLOW message, but in these messages (responses) there aren't all fields I need, like IPv4 source and destination of the flow (which could be located into match field).

Thus, since these MultipartResponse fields are included in the match field (according to OpenFlow 1.3 MultipartResponse messages), why I cannot receive all the fields? How can I modify ODL to receive that fields (if ODL is the problem)?


edit retag flag offensive close merge delete