From c59b4b5c0605f5f09721bc04d48c1894dfc7694d Mon Sep 17 00:00:00 2001 From: Stefan Schlesinger Date: Mon, 27 Oct 2014 17:26:40 +0100 Subject: model/asa: ASA prompt contains HA Failover state separated by slashes --- lib/oxidized/model/asa.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/oxidized/model/asa.rb b/lib/oxidized/model/asa.rb index 11db547..8335b1d 100644 --- a/lib/oxidized/model/asa.rb +++ b/lib/oxidized/model/asa.rb @@ -3,7 +3,7 @@ class ASA < Oxidized::Model # Cisco ASA model # # Only SSH supported for the sake of security - prompt /^\r*([\w.@()-]+[#>]\s?)$/ + prompt /^\r*([\w.@()-\/]+[#>]\s?)$/ comment '! ' cmd :all do |cfg| -- cgit v1.2.3 From 418c90bb10a650d717e9e63a674ea31f7aa6bd4e Mon Sep 17 00:00:00 2001 From: Stefan Schlesinger Date: Mon, 27 Oct 2014 19:27:03 +0100 Subject: docs: enable mapping update --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index ddea527..5c4ea0c 100644 --- a/README.md +++ b/README.md @@ -191,7 +191,9 @@ source: name: 0 model: 1 username: 2 - enable: 3 + password: 3 + var_map: + enable: 4 ``` ### Source: SQLite @@ -210,6 +212,7 @@ source: model: model username: username password: password + var_map: enable: enable ``` @@ -275,6 +278,7 @@ source: model: 1 username: 2 password: 3 + var_map: enable: 4 model_map: cisco: ios -- cgit v1.2.3