ecklm / adaptive-network-slicing

Project holding the implementation and results of my thesis project at University of Trento, Italy
20 stars 5 forks source link

Controller:log: Present switch names instead of dpids #28

Closed ecklm closed 4 years ago

ecklm commented 4 years ago

Comprehensive naming is of no use if the log prints this

        datapath   ipv4-dst udp-dst avg-speed (Mb/s) current limit (Mb/s) original limit (Mb/s)
---------------- ---------- ------- ---------------- -------------------- --------------------
0000000000000001  10.0.0.11    5001             0.00                 1.25                 5.00
0000000000000002  10.0.0.11    5001             0.00                 1.25                 5.00
0000000000000003  10.0.0.11    5001             0.00                 1.25                 5.00
0000000000000004  10.0.0.11    5001             0.00                 1.25                 5.00
0000000000000005  10.0.0.11    5001             0.00                 1.25                 5.00
0000000000000001  10.0.0.12    5002             0.00                 6.25                25.00
0000000000000002  10.0.0.12    5002             0.00                 6.25                25.00
0000000000000003  10.0.0.12    5002             0.00                 6.25                25.00
0000000000000004  10.0.0.12    5002             0.00                 6.25                25.00
0000000000000005  10.0.0.12    5002             0.00                 6.25                25.00
0000000000000001  10.0.0.13    5003             0.00                 3.75                15.00
0000000000000002  10.0.0.13    5003             0.00                 3.75                15.00
0000000000000003  10.0.0.13    5003             0.00                 3.75                15.00
0000000000000004  10.0.0.13    5003             0.00                 3.75                15.00
0000000000000005  10.0.0.13    5003             0.00                 3.75                15.00

Having names instead of datapath id-s would significantly help making sense of the log output corresponding to a specific experiment and topology.