Conversation
|
I am sceptical about using a json file as an argument Also, it would be better not to have hardcoded paths such as the variable |
|
Yes indeed, my first target was to do it based on a IPTopo class but i didn’t find the information of AS in the class So the idea of this plot was to use the json file to 1) create the topology based on JSONTopo class and 2) plot the topology based on the same json file and 3) based on the JSONTopo class, get many informations about the topology (number of iBGP / eBGP connections, number of links / RR / ...) |
You can have access to this by using the instance variable |
|
Ok thank you, then i will try to convert a IPTopo to a json file it can be good to visualize the topology etc ! |
Plot example code
To test it, i put the topology from the TP in examples/topo_tp.json so you can try the code by running :