Adding the initial version of the Netmiko Proxy and Execution modules#48260
Merged
rallytime merged 4 commits intosaltstack:developfrom Jun 25, 2018
Merged
Adding the initial version of the Netmiko Proxy and Execution modules#48260rallytime merged 4 commits intosaltstack:developfrom
rallytime merged 4 commits intosaltstack:developfrom
Conversation
d2056d8 to
d163f64
Compare
Contributor
|
+1 This looks great, and will be particularly useful for us since we have many legacy devices that we want to automate using Salt, but for which we don't want to run a full proxy-minion(primarily campus access switches with relatively static configurations). |
mirceaulinic
added a commit
to mirceaulinic/salt
that referenced
this pull request
Jun 25, 2018
…lm proxy minions ``netmiko`` is already a dependency of ``napalm``, therefore we are able to expose all the ``netmiko`` functionalities from the ``netmiko`` execution module without having to run under a netmiko Proxy Minion: see saltstack#48260, which is the PR adding the netmiko execution module. These new functions added to the existing napalm module gate netmiko's features to be reused into the napalm Proxy Minions, by forwarding the authentication details and options which are already there. For example, the following function goes through the ``netmiko`` Execution Module, and napalm users can invoke it straight away to get direct access to basic SSH primitives: ``salt '*' napalm.netmiko_call send_command 'show version'``. (without any further configuration needed).
rallytime
approved these changes
Jun 25, 2018
gtmanfred
approved these changes
Jun 25, 2018
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
What does this PR do?
Adding the initial version of the Netmiko Proxy and Execution modules (based on a third party library called netmiko). This gates the support to be able to interact and manage a large number of network operating systems (though over SSH!).
While the user can always manage the remote device through the
netmikoProxy, the Execution Module is flexible enough to be able to run arbitrary commands when running under a regular Minion, or a different flavour of a Proxy Minion (I have expanded more on this in the documentation).