From 54659e546595c71a4f7bdec7c3a317572b3f82a1 Mon Sep 17 00:00:00 2001 From: Everton Marques Date: Tue, 21 Jun 2016 12:36:20 -0300 Subject: Rename coriant8800 to corianttmos. --- lib/oxidized/model/coriant8800.rb | 25 ------------------------- lib/oxidized/model/corianttmos.rb | 25 +++++++++++++++++++++++++ 2 files changed, 25 insertions(+), 25 deletions(-) delete mode 100644 lib/oxidized/model/coriant8800.rb create mode 100644 lib/oxidized/model/corianttmos.rb (limited to 'lib/oxidized') diff --git a/lib/oxidized/model/coriant8800.rb b/lib/oxidized/model/coriant8800.rb deleted file mode 100644 index e54b90b..0000000 --- a/lib/oxidized/model/coriant8800.rb +++ /dev/null @@ -1,25 +0,0 @@ -class Coriant8800 < Oxidized::Model - - comment '# ' - - prompt /^[^\s#]+#\s$/ - - cmd 'show node extensive' do |cfg| - comment cfg - end - - cmd 'show run' do |cfg| - cfg - end - - cfg :telnet do - username /^Login:\s$/ - password /^Password:\s$/ - end - - cfg :telnet, :ssh do - pre_logout 'exit' - post_login 'enable config terminal length 0' - end - -end diff --git a/lib/oxidized/model/corianttmos.rb b/lib/oxidized/model/corianttmos.rb new file mode 100644 index 0000000..e54b90b --- /dev/null +++ b/lib/oxidized/model/corianttmos.rb @@ -0,0 +1,25 @@ +class Coriant8800 < Oxidized::Model + + comment '# ' + + prompt /^[^\s#]+#\s$/ + + cmd 'show node extensive' do |cfg| + comment cfg + end + + cmd 'show run' do |cfg| + cfg + end + + cfg :telnet do + username /^Login:\s$/ + password /^Password:\s$/ + end + + cfg :telnet, :ssh do + pre_logout 'exit' + post_login 'enable config terminal length 0' + end + +end -- cgit v1.2.1