Fix for new networkx.

This commit is contained in:
Bob Lantz
2010-09-01 19:51:54 -07:00
parent 73a098a499
commit cde0c25bfe
+1 -1
View File
@@ -11,7 +11,7 @@ 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. setup for testing, and can even be emulated with the Mininet package.
''' '''
from networkx.classes.graph import Graph from networkx import Graph
from mininet.node import SWITCH_PORT_BASE from mininet.node import SWITCH_PORT_BASE
class NodeID(object): class NodeID(object):