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

Newer Cisco Wireless Controllers failing to get detected with ssh_autodetect #2973

Closed
tramontano opened this issue Oct 6, 2022 · 1 comment

Comments

@tramontano
Copy link
Contributor

Hello ktbyers,

I would like to help improve netmiko by making a change in the ssh_autodetect. I noticed that newer Cisco Wireless Controllers have a different output on the show inventory (Cisco 5500 Wireless Controller, instead of Cisco Wireless Controller, for example) that makes newer WLCs not be auto-detected by netmiko. By leaving only "Wireless Controller" it worked for me! Not sure if anyone thought of a better way of doing this, but this is what my lazy brain was able to come out as a workaround.

"cisco_wlc_85": {
        "cmd": "show inventory",
        "dispatch": "_autodetect_std",
        "search_patterns": [r" Wireless Controller",],
        "priority": 99,
    }

Cheers!

@ktbyers
Copy link
Owner

ktbyers commented Oct 6, 2022

Should be fixed in that linked Pull Request. Thanks for letting me know.

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

No branches or pull requests

2 participants