Skip to content

Commit 987fd75

Browse files
author
Brandon Heller
committed
Fix custom topology example; outdated import
Reported-by: Julius Bachnick
1 parent 63d669f commit 987fd75

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

custom/topo-2sw-2host.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@
1010
topology enables one to pass in '--topo=mytopo' from the command line.
1111
"""
1212

13-
from mininet.topo import Topo, Node
13+
from mininet.topo import Topo
14+
from mininet.node import Node
1415

1516
class MyTopo( Topo ):
1617
"Simple topology example."

0 commit comments

Comments
 (0)