napalm-automation / napalm-ios

Apache License 2.0
31 stars 40 forks source link

Support enable mode and passing in of secret argument #19

Closed ktbyers closed 8 years ago

ktbyers commented 8 years ago

Should support passing in of secret argument.

Automatically attempt to go into enable mode if secret argument is present.

ktbyers commented 8 years ago

The solution for this is staged pending the release of Netmiko 1.0 which come out this week (week of 9/12)

ktbyers commented 8 years ago

Fix in develop branch.

nickermire commented 7 years ago

I'm also having this problem when calling napalm via ansible. Had to set privilege mode to 15 for the module to work. Netmiko version is 1.1.0.

Here is my playbook.yml ` - name: Push config to switch group. hosts: test connection: local gather_facts: no

tasks:

- debug: msg= "{{ result.stdout }}"`
nickermire commented 7 years ago

Also have to delete the secret variable as it breaks the playbook.

ktbyers commented 7 years ago

@nickermire You need to file your issue against napalm-ansible. That is the the more logical place for it. This above issue has been fixed, napalm-ios now supports all Netmiko arguments.

nickermire commented 7 years ago

Thanks Kirk

On Tuesday, November 1, 2016, Kirk Byers notifications@github.com wrote:

@nickermire https://github.com/nickermire You need to file your issue against napalm-ansible. That is the the more logical place for it. This above issue has been fixed, napalm-ios now supports all Netmiko arguments.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/napalm-automation/napalm-ios/issues/19#issuecomment-257637101, or mute the thread https://github.com/notifications/unsubscribe-auth/AGQ-5_yny0ygMv5zuXmT15ZV5T8VKLBCks5q53plgaJpZM4I_cYF .