summaryrefslogtreecommitdiff
path: root/lib/oxidized/model/coriant8600.rb
diff options
context:
space:
mode:
authorEverton Marques <everton.marques@gmail.com>2016-06-20 16:27:29 -0300
committerEverton Marques <everton.marques@gmail.com>2016-06-20 16:27:29 -0300
commit840369c015ea85e1ef8c9a25c2ccb93e40abe000 (patch)
treeb605da3ca87741b2dee979791489495411aecb0f /lib/oxidized/model/coriant8600.rb
parent0f4803f627d3fef797d34a8afc43555c54c28e69 (diff)
Coriant8600 from https://www.coriant.com/products/8600.asp
Diffstat (limited to 'lib/oxidized/model/coriant8600.rb')
-rw-r--r--lib/oxidized/model/coriant8600.rb25
1 files changed, 25 insertions, 0 deletions
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