def run_mininet(depth_val):
    for i in depth_val:
        network = TreeNet( depth=i, fanout=2, switch=OVSKernelSwitch )
        network.start()
        all_topos[i]=network.pingAllFull()
        all_perf[i]=network.iperf(fmt='g')
        proc_ping(i)
        proc_iperf(i)
        network.stop()