def testRemoteTopo(link=RemoteGRELink):
 topo = LinearTopo(2)
 net = Mininet(topo=topo, host=HostPlacer, switch=SwitchPlacer, link=link, controller=ClusterController)
 net.start()
 net.pingAll()
 net.stop()

def testRemoteTopo ( link = RemoteGRELink ) : topo = LinearTopo ( 2 ) net = Mininet ( topo = topo , host = HostPlacer , switch = SwitchPlacer , link = link , controller = ClusterController ) net . start ( ) net . pingAll ( ) net . stop ( )
test remote node classes using mininet()/topo() api .