mirror of
https://gitlab.com/prpl-foundation/prplmesh/topologyviewer.git
synced 2025-12-20 00:51:07 +08:00
master
Remove STA MAC requirement for VBSS creation See merge request prpl-foundation/prplmesh/topologyviewer!36
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:
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
Description
Languages
Python
91.5%
CSS
8.5%