Closed ktbyers closed 8 years ago
I had a brief look in the changes you have in the devel branch - looks good.
Add version to be a part of the package so you can do napalm_ios.version (i.e. so you clearly check which version of the code you are running).
I'm thinking that we could replicate this across all drivers.
Some of these might conflict with other plans you have (particularly pylama.ini changes and setup.py changes) so bringing up here.
I would let @dbarrosop speak here - I never worked with pylama (I'm using pylint with very restrictive config, e.g.: https://github.com/mirceaulinic/iosxr-eznc/blob/master/.pylintrc). BTW shall we raise this subject in the napalm-council?
@mirceaulinic FYI, made slight edit above...it was supposed to be:
napalm_ios.version
But got modified by the markdown. This is what I typically see for references to version
I was going to comment inline in the code but that will make it harder to track as there is no PR so there is not a single point of entry so I will just comment here:
__version__
- Makes complete sense, I will create issues for all the repos to track this.find_version
- Can we move it to napalm-base/napalm_base/utils/string_parsers.py
so we can reuse it everywhere?Other than that the branch looks pretty solid : )
Issue created: napalm-automation/napalm-base#70
Done.
@dbarrosop @mirceaulinic
I have staged some changes to napalm-ios prior to the Hackathon. I am planning on submitting these once I release Netmiko 1.0 which should be before Thursday.
Here are the changes I made:
Changes are here: https://github.com/ktbyers/napalm-ios/tree/devel
Some of these might conflict with other plans you have (particularly pylama.ini changes and setup.py changes) so bringing up here.