From 227f1af00c6d43e9627fa2803d90617bebcd1d83 Mon Sep 17 00:00:00 2001 From: Adam Smith Date: Thu, 15 Mar 2018 02:23:45 -0700 Subject: add hexadecimal for junos pre-shared-secret --- lib/oxidized/model/junos.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/oxidized/model') diff --git a/lib/oxidized/model/junos.rb b/lib/oxidized/model/junos.rb index 4652ab1..2ea0179 100644 --- a/lib/oxidized/model/junos.rb +++ b/lib/oxidized/model/junos.rb @@ -15,6 +15,7 @@ class JunOS < Oxidized::Model cmd :secret do |cfg| cfg.gsub!(/encrypted-password (\S+).*/, 'encrypted-password ') cfg.gsub!(/pre-shared-key ascii-text (\S+).*/, 'pre-shared-key ascii-text ') + cfg.gsub!(/pre-shared-key hexadecimal (\S+).*/, 'pre-shared-key hexadecimal ') cfg.gsub!(/authentication-key (\S+).*/, 'authentication-key ') cfg.gsub!(/community (\S+) {/, 'community {') cfg -- cgit v1.2.1