From 840369c015ea85e1ef8c9a25c2ccb93e40abe000 Mon Sep 17 00:00:00 2001 From: Everton Marques Date: Mon, 20 Jun 2016 16:27:29 -0300 Subject: Coriant8600 from https://www.coriant.com/products/8600.asp --- lib/oxidized/model/coriant8600.rb | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 lib/oxidized/model/coriant8600.rb (limited to 'lib/oxidized') diff --git a/lib/oxidized/model/coriant8600.rb b/lib/oxidized/model/coriant8600.rb new file mode 100644 index 0000000..1398949 --- /dev/null +++ b/lib/oxidized/model/coriant8600.rb @@ -0,0 +1,25 @@ +class Coriant8600 < Oxidized::Model + + prompt /^[^\s#]+[#>]/ + + cmd 'show hw-inventory' do |cfg| + comment cfg + end + + cmd 'show flash' do |cfg| + comment cfg + end + + cmd 'show run' do |cfg| + cfg + end + + cfg :telnet, :ssh do + username /^user name:$/ + password /^password:$/ + pre_logout 'exit' + post_login 'enable' + post_login 'terminal more off' + end + +end -- cgit v1.2.1