Parse a network topology from RocketFuel ISP map file.
Parameters : | path : str
|
---|---|
Returns : | topology : DirectedTopology
|
Raises : | ValueError :
|
Notes
If the topology contains self-loops (links starting and ending in the same node) they are stripped from the topology.
Examples
>>> import fnss
>>> topology = fnss.parse_rocketfuel_isp_map('1221.r0.cch')