summaryrefslogtreecommitdiff
path: root/haircontrol/discovery.py
Commit message (Collapse)AuthorAgeFilesLines
* Refactoring, dicover_from_root -> _from_gateway. Also calls ↵HEADmasterLudovic Pouzenc2016-06-111-21/+25
| | | | compute_neighbourhood.
* Tiny refactoringNicolas Goaziou2016-06-111-2/+2
|
* Haircontrol: Small refactoringNicolas Goaziou2016-06-111-10/+8
| | | | | * haircontrol/discovery.py (Discovery.compute_neighbourhood.set_uplink): Test if link has an uplink first, so as to avoid code duplication.
* Implement network discovery algorithmNicolas Goaziou2016-06-111-26/+99
| | | | * haircontrol/discovery.py (Discovery.compute_neighbourhood): New function.
* Inspector : parse ip link and show version for switches.Ludovic Pouzenc2016-06-091-3/+15
| | | | Discovery : use switch mac for each ports.
* Make room for direct_neighbours, add inter.py for use in interactive python ↵Ludovic Pouzenc2016-06-021-0/+28
| | | | shell.
* Inspector: more of them. Discovery: guess from mac address and some ↵Ludovic Pouzenc2016-05-161-17/+102
| | | | unification. Equipment : lowercase for iface
* Inspectors : add ToughSwitch. Tests : static hinting for switches. Discovery ↵Ludovic Pouzenc2016-05-161-20/+51
| | | | : go through all neighbours until all are inspected.
* Implement parsing of brmacs.cgi and status.cgi (only for local interfaces)Ludovic Pouzenc2016-05-161-3/+27
|
* inspectors : refactor doneLudovic Pouzenc2016-05-151-36/+21
|
* Add ip link support to mac local_macs, improove test result readabilityLudovic Pouzenc2016-05-151-10/+21
|
* Some work on data, repr() and cleaningLudovic Pouzenc2016-05-141-39/+16
|
* WIP : First try at getting some data from lldp and ip neigh.Ludovic Pouzenc2016-05-141-0/+68