summaryrefslogtreecommitdiff
path: root/lib/oxidized/model/coriant8600.rb
diff options
context:
space:
mode:
authorEverton Marques <everton.marques@gmail.com>2016-06-20 16:39:55 -0300
committerEverton Marques <everton.marques@gmail.com>2016-06-20 16:39:55 -0300
commit570d5e06ea25825c2fcd50023866d87a0c1a9b21 (patch)
treeaa4d67e04fa42b5468322c2ca5e2d1c16b8d5e5e /lib/oxidized/model/coriant8600.rb
parent840369c015ea85e1ef8c9a25c2ccb93e40abe000 (diff)
Set comment prefix for Coriant models.
Diffstat (limited to 'lib/oxidized/model/coriant8600.rb')
-rw-r--r--lib/oxidized/model/coriant8600.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/oxidized/model/coriant8600.rb b/lib/oxidized/model/coriant8600.rb
index 1398949..d54082f 100644
--- a/lib/oxidized/model/coriant8600.rb
+++ b/lib/oxidized/model/coriant8600.rb
@@ -1,6 +1,8 @@
class Coriant8600 < Oxidized::Model
- prompt /^[^\s#]+[#>]/
+ comment '# '
+
+ prompt /^[^\s#>]+[#>]/
cmd 'show hw-inventory' do |cfg|
comment cfg