diff options
Diffstat (limited to 'lib/oxidized')
-rw-r--r-- | lib/oxidized/model/coriant8600.rb | 4 | ||||
-rw-r--r-- | lib/oxidized/model/coriant8800.rb | 2 |
2 files changed, 5 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 diff --git a/lib/oxidized/model/coriant8800.rb b/lib/oxidized/model/coriant8800.rb index 1c2bf07..dfc941e 100644 --- a/lib/oxidized/model/coriant8800.rb +++ b/lib/oxidized/model/coriant8800.rb @@ -1,5 +1,7 @@ class Coriant8800 < Oxidized::Model + comment '# ' + prompt /^[^\s#]+#\s/ cmd 'show node extensive' do |cfg| |