-
Notifications
You must be signed in to change notification settings - Fork 25
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
Mikrotik RouterOS CLI Support #76
Merged
Merged
Changes from 1 commit
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
c6bd6c5
"added Mikrotik support for get_config ROS 6 & 7"
pato23arg 939e31f
modified default drivers mapping in __init__.py
pato23arg edba8cc
linting to mikrotik_routeros.py
pato23arg a705d7a
fixed pydocstyle linting errors
pato23arg 89d3ca6
removed dependency with regex lib
pato23arg 398d297
Merge branch 'develop' into mikrotik-ros-support
pato23arg 3926390
Update mikrotik_routeros.py
pato23arg 0b068e6
modified: /dispatcher/mikrotik_routeros.py
pato23arg fd69d52
modified: /dispatcher/mikrotik_routeros.py
pato23arg 913065f
modified: nornir_nautobot/plugins/tasks/dispatcher/mikrotik_router…
pato23arg ac20520
modified: nornir_nautobot/plugins/tasks/dispatcher/default.py
pato23arg 7f8f45c
flake8: import cleanup
pato23arg f64f269
modified: nornir_nautobot/plugins/tasks/dispatcher/default.py
pato23arg 98cd997
modified: nornir_nautobot/plugins/tasks/dispatcher/mikrotik_router…
pato23arg eb5c86c
modified: nornir_nautobot/plugins/tasks/dispatcher/mikrotik_router…
pato23arg 689400f
fix: made it compatible with #79
pato23arg a305f63
modified: mikrotik_routeros.py, compatibility with #79
pato23arg File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
fix: made it compatible with #79
modified: nornir_nautobot/plugins/tasks/dispatcher/mikrotik_routeros.py
- Loading branch information
commit 689400feba03c813822b4ed81d4630e07480e987
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
I am not sure how we should handle this. I don't have an answer, but just want to raise the question .
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.
I guess the alternative could be to split it into separate drivers, for 6.X and 7.X and deal with netmiko having a unique module for this platform. Need to think pros and cons about that, good point.
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.
I'm good with the idea for the concept of adding commands based on versions, if that is matches what is needed.
We could probably do this with a native Python module though rather than regex?
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.
I can probably get consistent results across versions by splitting the output multiple times. Will test and update if that's ok.