Where is your code? But let me guess you want to pass the arguments straight to addLink? Did you try handling the arguments before handing them over to addLink? Sent on the move.
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: 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
| ||
- [pox-dev] setting link options Balázs Németh
- Re: [pox-dev] setting link options wyu
- Re: [pox-dev] setting link options Murphy McCauley
- Re: [pox-dev] setting link options Murphy McCauley
- [pox-dev] setting link options Saurabh Agarwal
