Flow stats (ip packet count)

asked 2017-05-17 07:11:06 -0700

CharlesG75 gravatar image

updated 2017-05-17 07:16:33 -0700

Hi,

I use the ODL statistic plugin to obtain stats about packets count and bytes count for the flows available in the table 0.

Until now I was using ODL Beryllium SR3 and everything was fine.

With this url:

http://<controller IP>:8181/restconf/operational/opendaylight-inventory:nodes/node/openflow:1/table/0/

I was able to get statistic for all the flows of the table 0 (flow id, ip address, byte count, packet count).

Now I am using, the release SR4 (maybe it's not related), I added more tables in my ovs switch, but I still have flows entries in the table 0, but instead of having a list of flow with the previous url.

Now I have only this:

"opendaylight-flow-table-statistics:flow-table-statistics": {
                "packets-matched": 48544,
                "packets-looked-up": 48891,
                "active-flows": 12
}

And if y try this url:

http://<controller IP>:8181/restconf/operational/opendaylight-inventory:nodes/node/openflow:1/table/0/flow/0

Id 0 or any other ID, I have the message:

applicationdata-missingRequest could not be completed because the relevant data model content does not exist

Do I need to use another url, or change something to get the list of the flows, with the corresponding ip and the packet count ?

Thank you for your help.

Charles.

edit retag flag offensive close merge delete