<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Just as a quick sanity check -- are you sure you're running the right version of Mininet (or at least the latest one)?<div><br></div><div>You may also find more help on the Mininet mailing list. There's obviously crossover in users between the two, but this question isn't actually about POX and is about Mininet.</div><div><br></div><div>-- Murphy</div><div><br></div><div><div><div>On May 2, 2013, at 3:11 PM, Balázs Németh wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><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>
</blockquote></div><br></div></body></html>