[ndnSIM] How to generate the toplogy file usable in ndnSIM simulations

Susmit susmit at cs.colostate.edu
Wed Oct 18 19:50:02 PDT 2017


> I think that with Python isn't very difficult.

Indeed.

from networkx import *
graph =gnm_random_graph(80,50) //nodes, edges

#format these to suit the ndnSIM topology file format
print nodes(graph)
print edges(graph)


-- 

====================================
http://www.cs.colostate.edu/~susmit
====================================


More information about the ndnSIM mailing list