I tried it out and you probably used wrong node id. If I send this request with 
wrong node id I get the same error that you got, otherwise it is working.

Jozef

From: Shashidhar R [mailto:[email protected]]
Sent: Thursday, November 10, 2016 11:30 AM
To: [email protected]
Subject: [openflowplugin-dev] opendaylight-direct-statistics REST calls are not 
working

Hello,

I am trying to get "node-connector-statistics" using below RPC call with latest 
ODL/boron:


POST 
http://localhost:8181/restconf/operations/opendaylight-direct-statistics:get-node-connector-statistics
{
    "input":
    {
        "node" : 
"/opendaylight-inventory:nodes/opendaylight-inventory:node[opendaylight-inventory:id='openflow:159256663026689']"
 ,
        "store-stats" : false
    }
}

Response is always as shown below:

{
  "errors": {
    "error": [
      {
        "error-type": "application",
        "error-tag": "operation-not-supported",
        "error-message": "No local or remote implementation available for rpc 
AbsoluteSchemaPath{path=[(urn:opendaylight:direct:statistics?revision=2016-05-11)
 get-node-connector-statistics]}"
      }
    ]
  }
}

Same behaviour is observed with "get-flow-statistics" and 
"get-group-statistics" RPC calls.

Am I missing something here? Or any configurations need to be done?

Thanks,
Shashidhar
JozefBacigál
Software Engineer

Sídlo / Mlynské Nivy 56 / 821 05 Bratislava / Slovakia
R&D centrum / Janka Kráľa 9 /  974 01 Banská Bystrica / Slovakia
+421 908 766 972 / [email protected]
reception: +421 2 206 65 114 / www.pantheon.sk

[logo]


_______________________________________________
openflowplugin-dev mailing list
[email protected]
https://lists.opendaylight.org/mailman/listinfo/openflowplugin-dev

Reply via email to