diff options
author | Mike Rostermund <mike@kollegienet.dk> | 2015-05-24 23:53:40 +0200 |
---|---|---|
committer | Mike Rostermund <mike@kollegienet.dk> | 2015-05-24 23:53:40 +0200 |
commit | 62d49bc7c700bc08866187e14271770a6ac6932f (patch) | |
tree | 066d33a1b7f5168c2af625198dee7b138ee5ddb8 | |
parent | ec5fbd640e69e7dcec757efb33f7421c27291020 (diff) |
Remove 'show inventory' from Cisco SMB model, since they do not recognize the command
-rw-r--r-- | lib/oxidized/model/ciscosmb.rb | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/oxidized/model/ciscosmb.rb b/lib/oxidized/model/ciscosmb.rb index 718c60e..47e8391 100644 --- a/lib/oxidized/model/ciscosmb.rb +++ b/lib/oxidized/model/ciscosmb.rb @@ -23,10 +23,6 @@ class CiscoSMB < Oxidized::Model comment cfg end - cmd 'show inventory' do |cfg| - comment cfg - end - cmd 'show running-config' do |cfg| cfg = cfg.each_line.to_a[0..-1].join cfg.gsub! /^Current configuration : [^\n]*\n/, '' |