diff options
author | ytti <saku@ytti.fi> | 2014-10-27 22:48:17 +0200 |
---|---|---|
committer | ytti <saku@ytti.fi> | 2014-10-27 22:48:17 +0200 |
commit | 6132f0f825d281c2d5c7d918239eeec80b3e87be (patch) | |
tree | d2cfa5f36cb4d75f688de09bc5df26c85aa0bc08 | |
parent | b2811e88e05bfb3e1b2707e41c00e4a2cdcb4a6f (diff) | |
parent | 418c90bb10a650d717e9e63a674ea31f7aa6bd4e (diff) |
Merge pull request #59 from sts/master
model/asa: ASA prompt contains HA Failover state separated by slashes
-rw-r--r-- | README.md | 6 | ||||
-rw-r--r-- | lib/oxidized/model/asa.rb | 2 |
2 files changed, 6 insertions, 2 deletions
@@ -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 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| |