From 0f4803f627d3fef797d34a8afc43555c54c28e69 Mon Sep 17 00:00:00 2001 From: Everton Marques Date: Mon, 20 Jun 2016 16:09:13 -0300 Subject: Coriant8800 from https://www.coriant.com/products/8800.asp --- lib/oxidized/model/coriant8800.rb | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 lib/oxidized/model/coriant8800.rb (limited to 'lib/oxidized') diff --git a/lib/oxidized/model/coriant8800.rb b/lib/oxidized/model/coriant8800.rb new file mode 100644 index 0000000..1c2bf07 --- /dev/null +++ b/lib/oxidized/model/coriant8800.rb @@ -0,0 +1,20 @@ +class Coriant8800 < Oxidized::Model + + prompt /^[^\s#]+#\s/ + + cmd 'show node extensive' do |cfg| + comment cfg + end + + cmd 'show run' do |cfg| + cfg + end + + cfg :telnet, :ssh do + username /^Login:\s$/ + password /^Password:\s$/ + pre_logout 'exit' + post_login 'enable config terminal length 0' + end + +end -- cgit v1.2.1