Fix custom topology example; outdated import
Reported-by: Julius Bachnick
This commit is contained in:
@@ -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