From 987fd7555eadfa15d10db7991f4a7e8a4a7dbbbf Mon Sep 17 00:00:00 2001 From: Brandon Heller Date: Wed, 14 Nov 2012 21:28:42 -0800 Subject: [PATCH] Fix custom topology example; outdated import Reported-by: Julius Bachnick --- custom/topo-2sw-2host.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/custom/topo-2sw-2host.py b/custom/topo-2sw-2host.py index ee5ec35..c3342ee 100644 --- a/custom/topo-2sw-2host.py +++ b/custom/topo-2sw-2host.py @@ -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. """ -from mininet.topo import Topo, Node +from mininet.topo import Topo +from mininet.node import Node class MyTopo( Topo ): "Simple topology example."