dlinknctu / OpenNet

A Simulator for Software-Defined Wireless Local Area Network
GNU General Public License v2.0
72 stars 44 forks source link

AttributeError: 'Mininet' object has no attribute 'addAp' #94

Closed caiqiqi closed 7 years ago

caiqiqi commented 8 years ago

Hello, When I run the script 'ap-sta-switch-host.py' , I noticed that the Mininet object doesnt have a method called 'addAp'.

2016-07-03 8 57 50

As the name suggests, does this method try to add an AP to the mininet topo? But I searched in the source code net.py and failed to find the 'addAp' method. Oh, I finally find a repo by your group net.py But do I need to install this fork of mininet? Im currently doing some research. But I got stuck just at the beginning of building custom topos. Appreciate it that you open-sourced this repo. Really looking forward to you reply! Thanks,

kansokusha commented 8 years ago

Yes, addAp () means add an AP in the emulation topology. The method, addAp (), is identical with addSwitch (). We may remove addAp () & addSta () in future release.

OpenNet uses a customized version of Mininet. Without complete installation, OpenNet can not provide the environment of wireless emulation.