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(-) 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 From efdc21a9e70b8f45fd779a0054a86fca3fc884ac Mon Sep 17 00:00:00 2001 From: Max Mudde Date: Tue, 7 Mar 2017 08:14:50 +0100 Subject: Fixed Ciena typo in Readme.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 2f3defc..3ba12bb 100644 --- a/README.md +++ b/README.md @@ -75,7 +75,7 @@ Oxidized is a network device configuration backup tool. It's a RANCID replacemen * Check Point * [GaiaOS](lib/oxidized/model/gaiaos.rb) * Ciena - * [SOAS](lib/oxidized/model/saos.rb) + * [SAOS](lib/oxidized/model/saos.rb) * Cisco * [AireOS](lib/oxidized/model/aireos.rb) * [ASA](lib/oxidized/model/asa.rb) -- cgit v1.2.1