fnss.adapters.autonetkit.from_autonetkit¶
-
from_autonetkit
(topology)[source]¶ Convert an AutoNetKit graph into an FNSS Topology object.
The current implementation of this function only renames the weight attribute from weight to ospf_cost
Parameters: - topology : NetworkX graph
An AutoNetKit NetworkX graph
Returns: - fnss_topology : FNSS Topology
FNSS topology