Hack to avoid failing version check... ;-/

This commit is contained in:
Bob Lantz
2014-07-15 08:50:30 -07:00
parent b7268856d7
commit 2a08dec648
+1 -1
View File
@@ -46,7 +46,7 @@ class TorusTopo( Topo ):
Topo.__init__( self, *args, **kwargs )
if x < 3 or y < 3:
raise Exception( 'Please use 3x3 or greater for compatibility '
'with Mininet 2.1.0' )
'with 2.1' )
hosts, switches, dpid = {}, {}, 0
# Create and wire interior
for i in range( 0, x ):