-
Notifications
You must be signed in to change notification settings - Fork 48
Update to Napalm version 3.2.0 #114
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
Conversation
I also did some cleanup for NetBox 2.9 (configuration.py) and pylint. |
Could we support both napalm 2 and napalm 3 ? if we don't have to enforce a specific version I think it's better. Looking at it more closely, I think our pyproject.toml is too restrictive right now, we shouldn't pin our dependencies to a specific version
|
@dgarros If I'm reading that link correctly, Agreed that it would be nice (if possible) to set the |
AIUI right now we are basically saying for napalm we want versions >= 3.2.0 < 4.0.0. We could change this to something like:
I think the problem is if version 4 comes out I don't think we want to automatically support that without testing so at the very least I think we need to keep the < 4 just to be safe. If we want to add support for multiple versions we will also need to adjust the tests for multiple versions. |
I agree, in general we're more focused on NAPALM facts structure and its content, than a specific NAPALM version. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, please squash commits
edit: Reason of this comment was to improve git history cleanness, and to avoid injecting the code in one commit and deleting it in next commit as a part of single pull-request. In current iteration the commits names do not reflect their contents as well. (ie changes of base configuration)
This PR is to update the onboarding plugin to Napalm 3.2.0. I had to update all dependencies with poetry hence the updates to poetry.lock.