-
Notifications
You must be signed in to change notification settings - Fork 555
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NAPALM opengear driver does not implement force_no_enable #1241
Comments
See comments I put in the PR about changing PR to a try/except. |
I corrected my initial comment here where I was going to advocate correcting this in the opengear driver. I am okay with correcting this in core napalm as long as it is implemented as a graceful handling of the attribute error. |
OpenGear is just an example. I took a quick look at all drivers in https://github.com/napalm-automation-community and the below drivers currently suffer from the same issue (i.e. the driver uses https://github.com/napalm-automation-community/napalm-huawei-vrp Actually, no drivers in https://github.com/napalm-automation-community implement |
It is up to all the community drivers to pin to a specific version of napalm and update them across time as changes are made in napalm. Using But the AttributeError and try/except will at least cause them not to break (as the force_no_enable is a very optional behavior). |
Description of Issue/Question
Commit 638af2d#diff-42f76fa4e7c3a361b0ebdd6daa24796e has broken NAPALM drivers that use
_netmiko_open
and do not implementforce_no_enable
. I will submit an MR shortly with a fix.Did you follow the steps from https://github.com/napalm-automation/napalm#faq
(Place an
x
between the square brackets where applicable)Setup
napalm version
(Paste verbatim output from
pip freeze | grep napalm
between quotes below)Network operating system version
N/A
Steps to Reproduce the Issue
Error Traceback
Example
Example using the OpenGear driver:
Output:
The text was updated successfully, but these errors were encountered: