Ask is moving to Stack Overflow and Serverfault.com! Please use the "opendaylight" tag on either of these sites. This site is now in Read-Only mode

0

REST API for OFStatistics

asked 2015-06-02 10:17:07 -0800

princepereira gravatar image

updated 2015-06-02 20:11:39 -0800

HI,

Can anyone tell me what REST API must be invoked to get the Queue Statistics along with the Xml body to be passed.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2015-09-02 08:32:51 -0800

Colin Dixon gravatar image

I'd start by looking here: https://wiki.opendaylight.org/view/OpenDaylightOpenFlowPlugin:EndtoEnd_Flows

That should give you some hints, you shouldn't need an XML body, just a GET to the right URL. Likely this one: http://<controller ip="">:8181/restconf/operational/opendaylight-inventory:nodes/</controller>

or one it's subtree like: http://<controller ip="">:8181/restconf/operational/opendaylight-inventory:nodes/node/openflow:1/</controller>

Assuming we've read queue statistics from the device, they should be there. If they're not, I'd comment on this bug or open a new one: https://bugs.opendaylight.org/show_bug.cgi?id=2598

edit flag offensive delete publish link more
Login/Signup to Answer

Question Tools

Follow
1 follower

Stats

Asked: 2015-06-02 10:17:07 -0800

Seen: 260 times

Last updated: Sep 02 '15