After connecting devices with cables , connected ports need to be manually enabled in order to populate the LLDP table.
Look if those manual steps could be automated in ORCA.
One approach can be enable all interfaces on first device and look if lldp table is populated and revert the ports enable state afterwards.
[x] handle the scenario of discovering additional devices after the initial discovery has completed. To achieve this there should be a provision using which a single device can be discoverred the device IP might come from UI for example.
[x] Also orca_nw_lib should not init DB connection by default (i.e. in init.py)this should be left for apps like orca_backend. Similarly there should be looging initialization procedure left for application.
[x] Discovery process might partially fail e.g. only device node discovered but nothing else like interface bgp etc is discoverred.
To tackle partially failed discovery scenario case, the discovery API noe returns discovery report mentioning failures occured during discovery process, report can be diplayed on UI log panel.
After connecting devices with cables , connected ports need to be manually enabled in order to populate the LLDP table. Look if those manual steps could be automated in ORCA.
One approach can be enable all interfaces on first device and look if lldp table is populated and revert the ports enable state afterwards.