-
Notifications
You must be signed in to change notification settings - Fork 5
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 incompatible with NAPALM 4.x / Netmiko 4.x #11
Comments
In fact, this seems a little deeper, caused by ktbyers/netmiko#2866. Keeping this issue open in the meantime. |
Until there will be a more permanent solution in Netmiko, in order to have this driver usable with version 4.x, we need to "help" Netmiko when it fails to detect the prompt. Strictly speaking, as discussed under ktbyers/netmiko#2866 Netmiko works as designed, the ``base_prompt`` attribute is what we'd expect to be, but when OpenGear doesn't set anything on the prompt other than ``$`` or ``#`` depending on the user elevation, then Netmiko fails to properly read (more specifically, won't know when to stop). I also took this chance to change the behaviour in ``open()`` to only invoke ``enable()`` when the user is not root -- this saves one unnecessary operation when we use the root user.
Temporary workaround: #12. |
Working around #11 until the next Netmiko release
Are we able to add support for the We have an account that has "sudo" privs on opengear already that does not prompt for a password as the code in #12 changed.
|
Presumably this was fixed in netmiko with ktbyers/netmiko#2891 I was able to use several getters with the following setup:
|
With NAPALM 4.0.0 recently released, there's a requirement for Netmiko to be on a newer version. 4.x has introduced some backwards incompatible changes that are causing the following error in napalm-opengear:
The text was updated successfully, but these errors were encountered: