Bug #5246
openSetting link parameters via topology conf file broken in Mini-NDN-Wifi
0%
Description
TC parameters for experiments passed via topology files appear to not be applied when running up-to-date code. It is unclear whether is is an incompatibility with Mininet-Wifi or an issue that has been introduced to the wifi code. We have had two independent discoveries of this occurring.
Updated by Saurab Dulal about 2 years ago
Alexander Lane wrote:
TC parameters for experiments passed via topology files appear to not be applied when running up-to-date code. It is unclear whether is is an incompatibility with Mininet-Wifi or an issue that has been introduced to the wifi code. We have had two independent discoveries of this occurring.
I can confirm the existence of this problem. However, If the topology is configured via the experiment script itself (example below), it works fine. It looks to me that there might be some issue in the minindnwifi script, but don't have any confirmation yet.
args = ndnwifi.args
sta1 = topo.addStation(name="sta1", position='0,0,0')
sta2 = topo.addStation(name="sta2", position='30,0,0')
ap1 = topo.addAccessPoint('ap1', position='0,0,0')
params = {'delay': '20ms'} # passing delay argument directly via addLink works fine too
topo.addLink(sta1, ap1, **params)
topo.addLink(sta2, ap1, **params)