def clusterSanity():
 topo = SingleSwitchTopo()
 net = MininetCluster(topo=topo)
 net.start()
 CLI(net)
 net.stop()

def clusterSanity ( ) : topo = SingleSwitchTopo ( ) net = MininetCluster ( topo = topo ) net . start ( ) CLI ( net ) net . stop ( )
sanity check for cluster mode .