Hi,

I've been developping a NOX app which needs to get the traffic load of all
the links of the openflow switches.
I've been trying to do so with the "networkstate/linkload.hh" functions.

Everytime I call the get_link_load_ratio() function with all the
propper parameters
it returns -1
(as if it wasn't possible to get the link load).
I can see in the function definition that get_link_load_ratio() returns -1
when the link speed and the measurement interval are equal to 0.
The links whose load I try to measure are virtual because of mininet
experiment.

Is there any reason for this function to return -1 in this conditions?
Is there another way to get the load of a link?

Thank you.


Best regards

Reply via email to