summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-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