Hello. 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<http://pastebin.com/biTsRzei> 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 informationhttp://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) and ("flow-node-inventory:maximum-speed": 0). 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.
Also when I do " s2 ovs-ofctl -Oopenflow13 show "s2" "I received the following response: http://pastebin.com/HUwvJ1SR. Can someone explain to me why the 'current' and 'speed' fields are not changing according to the link load ? I want to obtain both current speed and max speed parameters in order to it for load balancing in my network. Any help would be apreciated. Details: I'm using Helium SR2 with mininet 2.2 and I'm using of13 on both controller and mininet. Regards, Nuno B.
_______________________________________________ discuss mailing list discuss@openvswitch.org http://openvswitch.org/mailman/listinfo/discuss