diff options
author | ytti <saku@ytti.fi> | 2017-02-20 11:08:18 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-20 11:08:18 +0200 |
commit | fafbdbc63a0bda9e2b798c15791e428453684eb4 (patch) | |
tree | fe65049b958397fe63d693d5fefac19a0200739e /lib/oxidized/model/ios.rb | |
parent | a1535a6f8f6b672fdc17c6dcf2af13c074d71c5d (diff) | |
parent | c77406cac82839a36acb5917c7a60734201ed915 (diff) |
Merge pull request #687 from nertwork/master
Node - Cumulus additional params
Diffstat (limited to 'lib/oxidized/model/ios.rb')
-rw-r--r-- | lib/oxidized/model/ios.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/oxidized/model/ios.rb b/lib/oxidized/model/ios.rb index c8b0ef3..94a3ab0 100644 --- a/lib/oxidized/model/ios.rb +++ b/lib/oxidized/model/ios.rb @@ -30,6 +30,7 @@ class IOS < Oxidized::Model cfg.gsub! /^enable (password|secret) \d \S+/, '<secret hidden>' cfg.gsub! /^(\s+(?:password|secret)) (?:\d )?\S+/, '\\1 <secret hidden>' cfg.gsub! /wpa-psk ascii \d \S+/, '<secret hidden>' + cfg.gsub! /key 7 \d.+/, '<secret hidden>' cfg.gsub! /^tacacs-server key \d \S+/, '<secret hidden>' cfg end |