summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md6
-rw-r--r--lib/oxidized/model/asa.rb2
2 files changed, 6 insertions, 2 deletions
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
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|