Device Status view breaks if get_environment is not available on the driver #2802
Labels
status: accepted
This issue has been accepted for implementation
type: bug
A confirmed report of unexpected behavior in the application
Environment
The device status javascript breaks if the napalm driver does not support the get_environment method as is the case for nxos.
Steps to Reproduce
Expected Behavior
The status page gracefully handles the missing environment data
Observed Behavior
The facts are populated, then the javascript crashes and the ajax loader remains.
The javascript console log:
TypeError: json.get_environment.memory is undefined
The ajax response is:
The text was updated successfully, but these errors were encountered: