wip
correct var names for mininet Signed-off-by: Benjamin Hesmans <benjamin.hesmans@uclouvain.be>
This commit is contained in:
parent
454ac02886
commit
b08d952454
@ -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):
|
||||
|
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user