Skip to content
This repository has been archived by the owner on Sep 28, 2023. It is now read-only.

Netmiko establishes SSH connection but no data extraction #33

Open
Tarik-H opened this issue Sep 19, 2019 · 1 comment
Open

Netmiko establishes SSH connection but no data extraction #33

Tarik-H opened this issue Sep 19, 2019 · 1 comment

Comments

@Tarik-H
Copy link

Tarik-H commented Sep 19, 2019

Hello, I'm using python 3.6 with inside a virtualenv and I can't get information to display whatever the platform (cisco_nxos, cisco_ios or cisco_xe).

python run.py -sS -t 172.28.46.253 -p cisco_nxos
main.main : #3 Start new run
main.main : #3 ##### Starting Single Run #####
main.single_run : #3 Processing connection to 172.28.46.253
base_device.process_devices : #4 Processing device
cli.connect : ? SSH auth error to 172.28.46.253 using admin, In
cli.connect : ? SSH auth error to 172.28.46.253 using admin, In
cli.connect : #4 Successful ssh auth to 172.28.46.253 using administrator, In
base_device.process_devices : ? _enable - Error: 'CiscoNxosSSH' object has no attribute 'ip'
main.single_run : ? Connection to 172.28.46.253 failed: 'CiscoNxosSSH' object has no attribute 'ip'
Device processing failed
main.main : #3 ##### Single Run Complete #####

Could you please help to point what is wrong?

@Wyko
Copy link
Owner

Wyko commented Oct 21, 2019

I suspect that a new version of Netmiko broke some functionality here. I included the device dispatcher code from an old version of Kirk's project, and it can probably be replaced by an up to date version (or removed entirely with a more elegant solution).

This project is not currently actively maintained, but feel free to submit a pull request with a fix and I will update it.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants