# Revision history [back]

Hello,

Using Boron, what you're trying to use is deprecated, hence you should use the following:

1. Install odl-openflowplugin-flow-services
3. Send the following request:

POST /restconf/operations/opendaylight-direct-statistics:get-node-connector-statistics
Host: localhost:8181
Content-Type: application/json
Authorization: Basic YWRtaW46YWRtaW4=

{
"input":
{
"node" : "/opendaylight-inventory:nodes/opendaylight-inventory:node[opendaylight-inventory:id=\"openflow:187811733353539\"]" ,
"store-stats" : false
}
}

4. Set store-stats to true if you want to keep them in the datastore.

You can also get the stats only for a specified port, but while trying, it appears not to be working well Add this to the above payload:

    "node-connector-id" : "/opendaylight-inventory:nodes/opendaylight-inventory:node[opendaylight-inventory:id=\"openflow:187811733353539\"]/opendaylight-inventory:node-connector[opendaylight-inventory:id='openflow:187811733353539:LOCAL']",


Instead of LOCAL, specify the port you want.

Hope this helps, Alexis