def testNsTunnels(remote='ubuntu2', link=RemoteGRELink):
 net = Mininet(host=RemoteHost, link=link)
 h1 = net.addHost('h1')
 h2 = net.addHost('h2', server=remote)
 net.addLink(h1, h2)
 net.start()
 net.pingAll()
 net.stop()

def testNsTunnels ( remote = 'ubuntu2' , link = RemoteGRELink ) : net = Mininet ( host = RemoteHost , link = link ) h1 = net . addHost ( 'h1' ) h2 = net . addHost ( 'h2' , server = remote ) net . addLink ( h1 , h2 ) net . start ( ) net . pingAll ( ) net . stop ( )
test tunnels between nodes in namespaces .