summaryrefslogtreecommitdiff
path: root/lib/oxidized/model
diff options
context:
space:
mode:
authorospfbgp <danielcoxman@gmail.com>2017-05-15 02:09:23 -0400
committerGitHub <noreply@github.com>2017-05-15 02:09:23 -0400
commit361c1da35cce14d430f14c6c27dce2194183127f (patch)
treef3aca44c7d5be31392a93528429463ddc6be3ca5 /lib/oxidized/model
parent97133ec863c695c6eaea6a4da523128234344295 (diff)
Update voss.rb
had some test code that needed to be removed
Diffstat (limited to 'lib/oxidized/model')
-rw-r--r--lib/oxidized/model/voss.rb10
1 files changed, 3 insertions, 7 deletions
diff --git a/lib/oxidized/model/voss.rb b/lib/oxidized/model/voss.rb
index 8a82fb3..599462a 100644
--- a/lib/oxidized/model/voss.rb
+++ b/lib/oxidized/model/voss.rb
@@ -27,14 +27,10 @@ class Voss < Oxidized::Model
password /Password: $/
end
-cfg :telnet, :ssh do
+ cfg :telnet, :ssh do
pre_logout 'exit'
- post_login do
- send "enable\n"
- send "terminal more disable\n"
- # Backup the config via tftp to a tftpserver of your choice
- #send "copy config.cfg x.x.x.x:" + node.name + ".cfg\n"
- end
+ post_login 'enable'
+ post_login 'terminal more disable'
end
end