correct var names for mininet

Signed-off-by: Benjamin Hesmans <benjamin.hesmans@uclouvain.be>
This commit is contained in:
Benjamin Hesmans 2015-01-07 14:52:43 +01:00
parent 454ac02886
commit b08d952454
2 changed files with 3 additions and 4 deletions

View File

@ -10,9 +10,9 @@ class MpLinkCharacteristics:
def asDict(self):
d = {}
d['delay'] = self.delay
d['queueSize'] = self.queueSize
d['bandwidth'] = self.bandwidth
d['bw'] = int(self.bandwidth)
d['delay'] = self.delay + "ms"
d['max_queue_size'] = int(self.queueSize)
return d
def __str__(self):

View File

@ -22,7 +22,6 @@ class MpTopo:
return self.topoBuilder.addSwitch(switch)
def addLink(self, fromA, toB, **kwargs):
print(kwargs)
self.topoBuilder.addLink(fromA,toB,**kwargs)
def getCLI(self):