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 or the measurement interval are equal to 0. The links whose load I try to measure are connected at 100Mbps so I don't understand the cause of this error.

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.
_______________________________________________
nox-dev mailing list
nox-dev@noxrepo.org
http://noxrepo.org/mailman/listinfo/nox-dev

Reply via email to