summaryrefslogtreecommitdiff
path: root/lib/oxidized/model/fiberdriver.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/oxidized/model/fiberdriver.rb')
-rw-r--r--lib/oxidized/model/fiberdriver.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/oxidized/model/fiberdriver.rb b/lib/oxidized/model/fiberdriver.rb
index 8f8eb07..c8a7f6a 100644
--- a/lib/oxidized/model/fiberdriver.rb
+++ b/lib/oxidized/model/fiberdriver.rb
@@ -11,6 +11,9 @@ 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 .*$/, ''
end
cfg :ssh do