资 源 简 介
#!/usr/bin/pythonfrom mininet.topo import Topofrom mininet.net import Mininetfrom mininet.util import irange,dumpNodeConnectionsfrom mininet.log import setLogLevelclass LinearTopo(Topo): "Linear topology of k switches, with one host per seitch" def __init__(self, k=2, **opts):