For the bandwidth you can get the stats of the ports at each end of a link and select the port with minimum cap/bandwidth. Of course you have to also calculate the bandwidth usage through flow stats. if you search in google/github you will be able to find some code samples in projects that have done this.
_______________________________________________ Ryu-devel mailing list Ryu-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ryu-devel