Skip to content

Add new netmiko and junos functions to the napalm module - #48313

Merged
rallytime merged 3 commits into
saltstack:developfrom
mirceaulinic:napalm-junos-gate
Jun 28, 2018
Merged

Add new netmiko and junos functions to the napalm module#48313
rallytime merged 3 commits into
saltstack:developfrom
mirceaulinic:napalm-junos-gate

Conversation

@mirceaulinic

Copy link
Copy Markdown
Contributor

To gate functionality from the junos Execution Module, by reusing the
existing connection from NAPALM.
At the same time, add two more handy functions that leverage the connection via the Netmiko module by reusing the connection arguments: send_commands and send_config.

To gate functionality from the ``junos`` Execution Module, by reusing the
existing connection.

@rallytime rallytime left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A couple of comments/questions from me. :)

Comment thread salt/modules/netmiko_mod.py Outdated

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks like an API change - can you add this to tend of the list, just in case?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The netmiko module has been just added #48260 - there might be other upcoming changes if I notice anything misbehaving, sorry.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh! I should have checked. Thanks! :)

Comment thread salt/modules/netmiko_mod.py Outdated

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is this default changing? That at least needs to be documented.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Indeed, it shouldn't. Reverted.

@rallytime
rallytime merged commit 98d0a15 into saltstack:develop Jun 28, 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.

2 participants