Isolate errors when a specific NAPALM driver call fails #1992
Labels
status: accepted
This issue has been accepted for implementation
type: bug
A confirmed report of unexpected behavior in the application
Issue type
[X] Feature request
[ ] Bug report
[ ] Documentation
Environment
Description
Adding a device using the NXOS driver in NAPALM and attempting to access the 'Status' tab for that device results in Netbox throwing an error, saying there was an error connecting to the device.
I assume this is because of a lack of support for the get_environment() function in the NXOS driver for NAPALM (as noted here). Perhaps it could be an idea to not request get_environment() on drivers where the getter is not supported and instead show a warning in the Netbox interface in place of the Environment table?
Use Case
The use case for this seems quite evident. Though NAPALM can't gather the environment data about the device, it would still be useful to get facts, such as the serial, uptime, version, etc. and have that displayed.
Database schema
Sadly I can't contribute much in regard of the database, though I may imagine it would be beneficial to hold the list of NAPALM drivers and their capabilities in the database that the interface could then vary its layout from? This could possibly also tie into allowing users to select a driver for a platform, rather than typing the name of them.
The text was updated successfully, but these errors were encountered: