I'm currently checking the apidoc explorer for documentation on rest requests to the controller. I'm trying to obtain the node connector statistics (namely the current transmit speed). In the documentation the model on node connector is like this and on this link ( https://wiki.opendaylight.org/view/L2Switch:Address_Tracker ) they teach you to send a request that gives you that information.
However when I try the same ( http://localhost:8080/restconf/operational/opendaylight-inventory:nodes/node/openflow:1/node-connector/openflow:1:1 ) I only receive this information http://pastebin.com/tg6H91Tj which is has wrong values like the link speed.
It is giving me always 10mb no matter what ("flow-node-inventory:current-speed": 10000000). The current speed according to documentation is the "Current port bit rate in kbps". However is always 10000000, even though I'm not sending packets on the link.
So, I'm having some issues with the northbound API. Wiki states a way to do it, but in reality that isn't working as it says there. Any help would be apreciated.
Details: I'm using Helium SR2 with mininet 2.2 and I'm using of13 .
Regards, Nuno B.