summaryrefslogtreecommitdiff
path: root/lib/oxidized
diff options
context:
space:
mode:
authorWild Kat <wk@futureinquestion.net>2018-03-20 23:17:29 +0100
committerWild Kat <wk@futureinquestion.net>2018-03-20 23:17:29 +0100
commit343cf3227cafe4a7de4a7be5934163eb6bd2dba9 (patch)
tree7951e894bce305daf0fc163c3c9a89f44588d7d1 /lib/oxidized
parent6f672654c7e725bc828b6577297b86d501780c50 (diff)
expand dcnos model
Diffstat (limited to 'lib/oxidized')
-rw-r--r--lib/oxidized/model/dcnos.rb8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/oxidized/model/dcnos.rb b/lib/oxidized/model/dcnos.rb
index 5a39e2b..4a33fa0 100644
--- a/lib/oxidized/model/dcnos.rb
+++ b/lib/oxidized/model/dcnos.rb
@@ -12,6 +12,14 @@ class DCNOS < Oxidized::Model
comment cfg
end
+ cmd 'show boot-files' do |cfg|
+ comment cfg
+ end
+
+ cmd 'show flash' do |cfg|
+ comment cfg
+ end
+
cmd 'show running-config' do |cfg|
cfg = cfg.each_line.to_a[1..-1]
end