[pox-dev] setting link options

Murphy McCauley murphy.mccauley at gmail.com
Thu May 2 15:36:15 PDT 2013


Just as a quick sanity check -- are you sure you're running the right version of Mininet (or at least the latest one)?

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.

-- Murphy

On May 2, 2013, at 3:11 PM, Balázs Németh wrote:

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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.noxrepo.org/pipermail/pox-dev-noxrepo.org/attachments/20130502/d580ee53/attachment-0002.htm>


More information about the pox-dev mailing list