From 361c1da35cce14d430f14c6c27dce2194183127f Mon Sep 17 00:00:00 2001 From: ospfbgp Date: Mon, 15 May 2017 02:09:23 -0400 Subject: Update voss.rb had some test code that needed to be removed --- lib/oxidized/model/voss.rb | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'lib') 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 -- cgit v1.2.1