summaryrefslogtreecommitdiff
path: root/lib/oxidized/model
diff options
context:
space:
mode:
Diffstat (limited to 'lib/oxidized/model')
-rw-r--r--lib/oxidized/model/fiberdriver.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/oxidized/model/fiberdriver.rb b/lib/oxidized/model/fiberdriver.rb
index 8f8eb07..abe8f68 100644
--- a/lib/oxidized/model/fiberdriver.rb
+++ b/lib/oxidized/model/fiberdriver.rb
@@ -11,6 +11,10 @@ class FiberDriver < Oxidized::Model
cmd "show running-config" do |cfg|
cfg.each_line.to_a[3..-1].join
+ cfg.gsub! /^Building configuration.*$/, ''
+ cfg.gsub! /^Current configuration:.*$$/, ''
+ cfg.gsub! /^! Configuration saved on .*$/, ''
+ cfg
end
cfg :ssh do