<div dir="ltr">Hi all!<div><br></div><div style>I would like to set a link some options (bandwidth), on one of my topos. </div><div style>I tried it the way is shown in the corresponding mininet API example:</div><div style>
<a href="https://github.com/mininet/mininet/blob/master/examples/simpleperf.py#L30">https://github.com/mininet/mininet/blob/master/examples/simpleperf.py#L30</a><br></div><div style><br></div><div style>I am making a simple custom topology, not using the API. But it won't work for me. The error message i got:</div>
<div style> unexpected keyword argument 'bw'</div><div style><br></div><div style>The implementation of addLink() (in mininet.topo.Topo.addLink) says:</div><div style>def addLink(self, node1, node2, port1=None, port2=None, **opts)</div>
<div style><br></div><div style>Although, I am not sure, I fully understand how this "**arg" function parameter works in Python.</div><div style><br></div><div style>thanks for your time,</div><div style>Balázs</div>
</div>