Fix custom topology example; outdated import
Reported-by: Julius Bachnick
This commit is contained in:
1 parent
63d669f712
commit
987fd7555e
1 file changed
+2
-1
@@ -10,7 +10,8 @@ Adding the 'topos' dict with a key/value pair to generate our newly defined
|
|||||||
topology enables one to pass in '--topo=mytopo' from the command line.
|
topology enables one to pass in '--topo=mytopo' from the command line.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
from mininet.topo import Topo, Node
|
from mininet.topo import Topo
|
||||||
|
from mininet.node import Node
|
||||||
|
|
||||||
class MyTopo( Topo ):
|
class MyTopo( Topo ):
|
||||||
"Simple topology example."
|
"Simple topology example."
|
||||||
|
|||||||
Reference in new issue
Block a user