summaryrefslogtreecommitdiff
path: root/lib/oxidized/model/saos.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/oxidized/model/saos.rb')
-rw-r--r--lib/oxidized/model/saos.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/oxidized/model/saos.rb b/lib/oxidized/model/saos.rb
index 5d460cf..5a4e79e 100644
--- a/lib/oxidized/model/saos.rb
+++ b/lib/oxidized/model/saos.rb
@@ -2,7 +2,7 @@ class SAOS < Oxidized::Model
# Ciena SAOS switch
# used for 6.x devices
-
+
comment '! '
cmd :all do |cfg|
@@ -10,6 +10,8 @@ class SAOS < Oxidized::Model
end
cmd 'configuration show' do |cfg|
+ cfg.gsub! /^! Created: [^\n]*\n/, ''
+ cfg.gsub! /^! On terminal: [^\n]*\n/, ''
cfg
end