there are some information not reported in the data model, regarding to ethernet backhaul i can not solve the problem in short time. in order to draw the topology, i want to: 1. use the backhaul entry, add parent device as a child to the controller 2. add the interface as a child to the controller's first interface the connection is faked, cause the real connection is wired instead of wireless but the topology is more or less the same
EasyMesh Network Topology UI
Requirements
For initial set-up, you'll need a serial or SSH connection to the Controller in your EasyMesh network (for running ubus commands.)
- The controller in the prplMesh network must have
lighttpdandamx-fcgibuilt/deployed. - The port that the controller will listen for HTTP requests on is configurable in the
lighttpd.conffile, located at/etc/lighttpd/lighttpd.conf- Change the port via the
server.port = <int>entry. Defaults to 8080.
- Change the port via the
- Configure the firewall on the Controller to permit incoming HTTP traffic on the port you want, or just do
iptables -P INPUT ACCEPT
To test whether or not the HTTP<->Ambiorix proxy is running, and the port is open, do:
curl -u username:pass "http://<controller_ip>:<controller_port>/serviceElements/Device."
You'll additionally need some external packages:
sudo apt install graphviz
To Run the topologyviewer:
Change the included config.ini file to match your setup.
Use included script:
source prepare_env.sh
python main.py
-> open your browser at: http://localhost:8050/
Manually prepare python env:
python -m venv ./
source ./bin/activate
python -m pip install -r requirements.txt
python main.py
firefox localhost:8050 & disown
This user interface was used to demonstrate AP onboarding and manufacturer interoperability within the prplMesh ecosystem in this YouTube video
To reproduce this demo, follow the steps in DEMO.md
Tests:
python tests.py