summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorytti <saku@ytti.fi>2017-03-07 15:40:35 +0200
committerGitHub <noreply@github.com>2017-03-07 15:40:35 +0200
commite457762085c97879b9f2a199a5cb76dcfbe60912 (patch)
tree1b82a2083e198d970b847feb2ff9247e186099e9 /lib
parent429920ca38bedd887588bf37692df7b7de40e0d7 (diff)
parentefdc21a9e70b8f45fd779a0054a86fca3fc884ac (diff)
Merge pull request #755 from makzdot/ciena-saos7-fixes
Ciena saos7 fixes
Diffstat (limited to 'lib')
-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