summaryrefslogtreecommitdiff
path: root/lib/oxidized/config/bootstrap.rb
diff options
context:
space:
mode:
authorSaku Ytti <saku@ytti.fi>2013-04-19 12:36:45 +0300
committerSaku Ytti <saku@ytti.fi>2013-04-19 12:41:29 +0300
commit96668cc2dc0367e3d1a3ec94265ce889b62d8ada (patch)
tree340f92a6dd4b68e41a946729c8fae34db7aff40b /lib/oxidized/config/bootstrap.rb
parent9d217025fac3e335c308f02e7377e14ccfdc0e66 (diff)
Add restful API
Diffstat (limited to 'lib/oxidized/config/bootstrap.rb')
-rw-r--r--lib/oxidized/config/bootstrap.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/oxidized/config/bootstrap.rb b/lib/oxidized/config/bootstrap.rb
index e44dde7..2991fa3 100644
--- a/lib/oxidized/config/bootstrap.rb
+++ b/lib/oxidized/config/bootstrap.rb
@@ -10,6 +10,7 @@ module Oxidized
CFG.threads = 10
CFG.timeout = 5
CFG.prompt = /^([\w\.\-@]{3,30}[#>]\s?)$/
+ CFG.rest = 8888
CFG.input = {
:default => 'ssh',
}
@@ -17,7 +18,7 @@ module Oxidized
:default => 'git',
}
CFG.source = {
- :default => 'ascii',
+ :default => 'csv',
}
CFG.model_map = {
'cisco' => 'ios',