summaryrefslogtreecommitdiff
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
parent429920ca38bedd887588bf37692df7b7de40e0d7 (diff)
parentefdc21a9e70b8f45fd779a0054a86fca3fc884ac (diff)
Merge pull request #755 from makzdot/ciena-saos7-fixes
Ciena saos7 fixes
-rw-r--r--README.md2
-rw-r--r--lib/oxidized/model/saos.rb3
2 files changed, 3 insertions, 2 deletions
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)
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