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