From 24baea734fc0eefcb5d8f87204352be418b03362 Mon Sep 17 00:00:00 2001 From: Bob Lantz Date: Sun, 17 Oct 2010 17:36:48 -0700 Subject: [PATCH] Changed networkx import line; we may have to deal with version issues here. --- mininet/topo.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/mininet/topo.py b/mininet/topo.py index 07f74ef..f7de5fc 100644 --- a/mininet/topo.py +++ b/mininet/topo.py @@ -11,7 +11,11 @@ A Topo object can be a topology database for NOX, can represent a physical setup for testing, and can even be emulated with the Mininet package. ''' -from networkx.classes.graph import Graph +# BL: we may have to fix compatibility here. +# networkx is also a fairly heavyweight dependency +# from networkx.classes.graph import Graph + +from networkx import Graph from mininet.node import SWITCH_PORT_BASE class NodeID(object):