From 04eb4d98014e73aba83a091cf39836470d96e590 Mon Sep 17 00:00:00 2001 From: nick n <39005454+inphobia@users.noreply.github.com> Date: Mon, 27 May 2019 02:32:43 +0200 Subject: [PATCH] change to device_auth config totally untested, but old config should be bad too. also, change devicetype from ios to asa. --- lib/App/Netdisco/SSHCollector/Platform/ASA.pm | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/lib/App/Netdisco/SSHCollector/Platform/ASA.pm b/lib/App/Netdisco/SSHCollector/Platform/ASA.pm index c0a4e540..91bc3348 100644 --- a/lib/App/Netdisco/SSHCollector/Platform/ASA.pm +++ b/lib/App/Netdisco/SSHCollector/Platform/ASA.pm @@ -1,6 +1,5 @@ package App::Netdisco::SSHCollector::Platform::ASA; - =head1 NAME App::Netdisco::SSHCollector::Platform::ASA @@ -14,15 +13,17 @@ C status after login: aaa authorization exec LOCAL auto-enable -To use an C password seaparate from the login password, add an -C under C in your configuration file: +To use an C password separate from the login password, add an +C under C tag in your configuration file: - sshcollector: - - ip: '192.0.2.1' - user: oliver - password: letmein - enable_password: myenablepass - platform: IOS +device_auth: + - tag: sshasa + driver: cli + platform: ASA + only: '192.0.2.1' + username: oliver + password: letmein + enable_password: myenablepass =cut