fix order of constructor arguments
This commit is contained in:
parent
883771cd53
commit
e93b95cdd4
@ -247,8 +247,8 @@ class TopoParameter(Parameter):
|
|||||||
except ValueError as e:
|
except ValueError as e:
|
||||||
logging.error("Ignored path {}: {}".format(k, e))
|
logging.error("Ignored path {}: {}".format(k, e))
|
||||||
else:
|
else:
|
||||||
path = LinkCharacteristics(link_id, link_type, delay, bw,
|
path = LinkCharacteristics(link_id, link_type, delay, queue_size,
|
||||||
queue_size, loss_perc, backup=is_backup)
|
bw, loss_perc, backup=is_backup)
|
||||||
self.link_characteristics.append(path)
|
self.link_characteristics.append(path)
|
||||||
|
|
||||||
def __str__(self):
|
def __str__(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user