summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Mudde <max.mudde@surfnet.nl>2017-03-07 08:12:42 +0100
committerMax Mudde <max.mudde@surfnet.nl>2017-03-07 08:12:42 +0100
commit7b9394408022f007af4792463728e2c5e8fd2b12 (patch)
treec5882b292ba4d981a57d9b67d4ff2c33b1d4952d
parent429920ca38bedd887588bf37692df7b7de40e0d7 (diff)
Added lines to ignore for SAOS7 devics.
-rw-r--r--lib/oxidized/model/saos.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/oxidized/model/saos.rb b/lib/oxidized/model/saos.rb
index 649daa7..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|
@@ -11,6 +11,7 @@ class SAOS < Oxidized::Model
cmd 'configuration show' do |cfg|
cfg.gsub! /^! Created: [^\n]*\n/, ''
+ cfg.gsub! /^! On terminal: [^\n]*\n/, ''
cfg
end