Tucker Polomik 4eb5cd06a5 Add static node labels.
Signed-off-by: Tucker Polomik <t.polomik@cablelabs.com>
2022-09-07 11:53:59 -06:00
2022-08-29 11:48:49 -06:00
2022-08-29 12:22:46 -06:00
2022-09-07 11:53:59 -06:00
2022-08-29 12:24:00 -06:00
2022-08-27 15:54:16 -06:00
2022-08-30 15:18:53 -06:00
2022-08-31 15:25:05 -06:00

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 lighttpd and amx-fcgi built/deployed.
  • The port that the controller will listen for HTTP requests on is configurable in the lighttpd.conf file, located at /etc/lighttpd/lighttpd.conf
    • Change the port via the server.port = <int> entry. Defaults to 8080.
  • Configure the firewall to allow incoming requests
    • ubus-cli Firewall.X_Prpl_Service.+{Alias="serviceelements",Action="Accept",DestinationPort="<your_port_here>",Enable=1,IPVersion=4,Interface="<your_interface_here>",Protocol="TCP"}

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."

To Run:

python -m venv ./

source ./bin/activate

python -m pip install -r requirements.txt

python main.py

firefox localhost:8050 & disown

Tests:

python tests.py

Description
No description provided
Readme BSD-2-Clause-Patent 324 KiB
Languages
Python 91.5%
CSS 8.5%