Use print function

This commit is contained in:
Brad Walker
2016-06-21 16:27:04 -07:00
committed by Bob Lantz
parent 57abd9baef
commit 70fcc45893
25 changed files with 189 additions and 141 deletions
+4 -2
View File
@@ -6,6 +6,8 @@ Validate that the port numbers match to the interface name,
and that the ovs ports match the mininet ports.
"""
from __future__ import print_function
from mininet.net import Mininet
from mininet.node import Controller
from mininet.log import setLogLevel, info, warn
@@ -65,11 +67,11 @@ def testPortNumbering():
'is actually on port', s1.ports[intfs], '... ' )
if validatePort( s1, intfs ):
info( 'Validated.\n' )
print '\n'
print( '\n' )
# test the network with pingall
net.pingAll()
print '\n'
print( '\n' )
info( '*** Stopping network' )
net.stop()