Skip to content
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

Adding a few helpers to gate functionality from netmiko into the NAPALM proxy minions #48264

Merged
merged 1 commit into from Jun 25, 2018

Conversation

mirceaulinic
Copy link
Contributor

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
#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).

…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 rallytime merged commit e0d76b0 into saltstack:develop Jun 25, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants