13 Commits

Author SHA1 Message Date
Joanna Lien
e9e72a1bb9 PPM-2654 Fix crash issue with Haze
Signed-off-by: Frederik Van Bogaert <frederik.vanbogaert@mind.be>
2023-11-22 15:13:45 +01:00
Tucker Polomik
97b6b593f6 easymesh: fix Pylint warnings.
Signed-off-by: Tucker Polomik <t.polomik@cablelabs.com>
2023-05-05 16:25:17 -06:00
Tucker Polomik
86165318f0 easymesh: Interface: add get_mac() and has_child_Iface(mac)
Signed-off-by: Tucker Polomik <t.polomik@cablelabs.com>
2023-05-02 13:49:19 -06:00
Tucker Polomik
25bbd3e8f5 easymesh: add UnassociatedStation and UnassociatedStationRSSIMeasurement
Also adds methods to the Radio class to correlate Radios to
UnassociatedStations

Signed-off-by: Tucker Polomik <t.polomik@cablelabs.com>
2023-05-02 13:46:25 -06:00
Tucker Polomik
f91deae4ff easymesh: Station: add get_rssi()
Gets the most recent signal strength measurement for this station.

Signed-off-by: Tucker Polomik <t.polomik@cablelabs.com>
2023-05-02 13:46:25 -06:00
Tucker Polomik
de6e418842 eashmesh: Interface: add get_hash_id()
Used for finding clicked interfaces in the topology view.

Signed-off-by: Tucker Polomik <t.polomik@cablelabs.com>
2023-03-09 10:20:25 -07:00
Tucker Polomik
99d6860962 easymesh: add is_vbss() method to BSS objects
Signed-off-by: Tucker Polomik <t.polomik@cablelabs.com>
2022-12-16 14:51:46 -07:00
Maarten De Decker
6b8def382d topologyviewer: add legend image, various bugfixes
This commit removes stations in the topology that are already visible as agents.
A legend image is added.
The traces between interfaces show the mediatype of the link. (Solid for Ethernet, dashed for Wi-Fi, purple dash for station links)
Interfaces are sorted so traces won't visually cross.
A bug with the customdata list is fixed, so clickable objects show the right parameter data in the nodelist.
The resulting plotview is dynamically "scaled" based on the size of the topology.

Signed-off-by: Maarten De Decker <maarten.dedecker@mind.be>
2022-10-17 13:50:30 +02:00
Maarten De Decker
aa56af2b10 topologyviewer: build tree graph
Adds interface objects and relations to the easymesh class.
The relations are build by traversing the MultiAPDevice.Backhaul. objects for each agent.
Builds a tree graph based on these relations.

Signed-off-by: Maarten De Decker <maarten.dedecker@mind.be>
2022-09-29 12:22:27 +02:00
Tucker Polomik
0c1865bedb Nest params into tree. Dump params on node click.
Signed-off-by: Tucker Polomik <t.polomik@cablelabs.com>
2022-09-02 13:02:16 -06:00
Tucker Polomik
16146d2899 Add metadata to nodes
Move node text generation out of network_graph(...)

Signed-off-by: Tucker Polomik <t.polomik@cablelabs.com>
2022-08-31 15:25:05 -06:00
Tucker Polomik
6ac5bf6856 easymesh.py: add type hints
Signed-off-by: Tucker Polomik <t.polomik@cablelabs.com>
2022-08-30 15:57:13 -06:00
Tucker Polomik
1993b55a0b Medium refactor
Make Easymesh POD classes for easier parsing

Prior to this commit, we cheated by mapping STAs directly to Agents,
instead of BSSIDs. Now the graph edges are derived from STA<->BSSID
relationships.

Signed-off-by: Tucker Polomik <t.polomik@cablelabs.com>
2022-08-30 15:18:53 -06:00