summaryrefslogtreecommitdiff
path: root/lib/oxidized/config
diff options
context:
space:
mode:
Diffstat (limited to 'lib/oxidized/config')
-rw-r--r--lib/oxidized/config/bootstrap.rb3
-rw-r--r--lib/oxidized/config/defaults.rb1
2 files changed, 3 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',
diff --git a/lib/oxidized/config/defaults.rb b/lib/oxidized/config/defaults.rb
index a07e1a6..943d90b 100644
--- a/lib/oxidized/config/defaults.rb
+++ b/lib/oxidized/config/defaults.rb
@@ -5,6 +5,7 @@ module Oxidized
OutputDir = File.join Directory, %w(lib oxidized output)
ModelDir = File.join Directory, %w(lib oxidized model)
SourceDir = File.join Directory, %w(lib oxidized source)
+ Sleep = 1
end
class << self
attr_accessor :mgr