summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorytti <saku@ytti.fi>2015-10-20 16:17:32 +0300
committerytti <saku@ytti.fi>2015-10-20 16:17:32 +0300
commit1400b842f6dc61e662ce15f72f578a55126ffc06 (patch)
treee9be2ba5cd7b8783eccf695b651871238ac0946c
parent00f95d4f0b85cd74da1b0c8e7799cc5d2b4ed901 (diff)
parent62d49bc7c700bc08866187e14271770a6ac6932f (diff)
Merge pull request #122 from SaaldjorMike/remove-inventory
Remove 'show inventory' from Cisco SMB model, since they do not recog…
-rw-r--r--lib/oxidized/model/ciscosmb.rb4
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/, ''