Convert an FNSS topology into a NetworkX graph object compatible for AutoNetKit.
The returned graph can be saved into a GraphML file using NetworkX write_graphml function and then passed to AutoNetKit as command line parameter.
The current implementation of this function only renames the weight attribute from weight to ospf_cost
Parameters : | topology : FNSS Topology
|
---|---|
Returns : | ank_graph : FNSS topology
|