summaryrefslogtreecommitdiff
path: root/lib/oxidized/model
diff options
context:
space:
mode:
Diffstat (limited to 'lib/oxidized/model')
-rw-r--r--lib/oxidized/model/coriant8800.rb20
1 files changed, 20 insertions, 0 deletions
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