diff options
-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| |