another typo

This commit is contained in:
Quentin De Coninck 2017-06-12 09:46:26 +02:00
parent 5272e3b903
commit 55cdfa7cce

View File

@ -18,7 +18,7 @@ class MpMultiInterfaceCongTopo(MpTopo):
self.addLink(self.switch[-1],self.router, **l.asDict()) self.addLink(self.switch[-1],self.router, **l.asDict())
self.addLink(self.router, self.server) self.addLink(self.router, self.server)
for i in range(len(self.cong_clients)): for i in range(len(self.cong_clients)):
self.cong_servers.append(self.addHost("CongServer-" + str(len(self.conf_servers)))) self.cong_servers.append(self.addHost("CongServer-" + str(len(self.cong_servers))))
self.addLink(self.router, self.cong_servers[-1]) self.addLink(self.router, self.cong_servers[-1])
def getCongClients(self): def getCongClients(self):