From 7b9394408022f007af4792463728e2c5e8fd2b12 Mon Sep 17 00:00:00 2001 From: Max Mudde Date: Tue, 7 Mar 2017 08:12:42 +0100 Subject: Added lines to ignore for SAOS7 devics. --- lib/oxidized/model/saos.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib') 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 -- cgit v1.2.1