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

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

Merged
merged 3 commits into from Jun 28, 2018

Conversation

@mirceaulinic
Copy link
Member

@mirceaulinic mirceaulinic commented Jun 26, 2018

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.
Copy link
Contributor

@rallytime rallytime left a comment

A couple of comments/questions from me. :)

@@ -493,6 +493,7 @@ def exit_config_mode(**kwargs):
def send_config(config_file=None,
config_commands=None,
template_engine='jinja',
commit=False,
Copy link
Contributor

@rallytime rallytime Jun 27, 2018

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

Copy link
Member Author

@mirceaulinic mirceaulinic Jun 28, 2018

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

Copy link
Contributor

@rallytime rallytime Jun 28, 2018

Oh! I should have checked. Thanks! :)

@@ -501,7 +502,7 @@ def send_config(config_file=None,
attrs=None,
context=None,
defaults=None,
skip_verify=False,
skip_verify=True,
Copy link
Contributor

@rallytime rallytime Jun 27, 2018

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

Copy link
Member Author

@mirceaulinic mirceaulinic Jun 28, 2018

Indeed, it shouldn't. Reverted.

@rallytime rallytime merged commit 98d0a15 into saltstack:develop Jun 28, 2018
9 of 17 checks passed
9 of 17 checks passed
continuous-integration/jenkins/pr-merge This commit cannot be built
Details
jenkins/PR/salt-pr-linode-ubuntu16-py3 Pull Requests » Salt PR - Linode Ubuntu16.04 - PY3 #11063 — ABORTED
Details
codeclimate 4 issues to fix
Details
jenkins/PR/salt-pr-linode-cent7-py3 Pull Requests » Salt PR - Linode CentOS 7 - PY3 #6093 — FAILURE
Details
jenkins/PR/salt-pr-rs-cent7-n Pull Requests » Salt PR - RS CentOS 7 #20146 — FAILURE
Details
jenkins/pr/py2-centos-7 The py2-centos-7 job has failed
Details
jenkins/pr/py3-centos-7 The py3-centos-7 job has failed
Details
default Build started sha1 is merged.
Details
@wip[bot]
WIP (beta) ready
Details
jenkins/PR/salt-pr-clone Pull Requests » Salt PR - Clone #26297 — SUCCESS
Details
jenkins/PR/salt-pr-docs-n Pull Requests » Salt PR - Docs #18343 — SUCCESS
Details
jenkins/PR/salt-pr-linode-ubuntu14-n Pull Requests » Salt PR - Linode Ubuntu14.04 #24021 — SUCCESS
Details
jenkins/PR/salt-pr-lint-n Pull Requests » Salt PR - Code Lint #22978 — SUCCESS
Details
jenkins/pr/docs The docs job has passed
Details
jenkins/pr/lint The lint job has passed
Details
jenkins/pr/py2-ubuntu-1604 The py2-ubuntu-1604 job has passed
Details
jenkins/pr/py3-ubuntu-1604 The py3-ubuntu-1604 job has passed
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants