Previous topic

fnss.topologies.parsers.parse_ashiip

Next topic

fnss.topologies.parsers.parse_caida_as_relationships

fnss.topologies.parsers.parse_brite

parse_brite(path, capacity_unit='Mbps', delay_unit='ms', directed=True)[source]

Parse a topology from an output file generated by the BRITE topology generator

Parameters :

path : str

The path to the BRITE output file

capacity_unit : str, optional

The unit in which link capacity values are expresses in the BRITE file

delay_unit : str, optional

The unit in which link delay values are expresses in the BRITE file

directed : bool, optional

If True, the topology is parsed as directed topology.

Returns :

topology : Topology or DirectedTopology