Skip to content

Commit

Permalink
Merge pull request #84 from hellt/patch-3
Browse files Browse the repository at this point in the history
include dot char in a hostname patter for junos
  • Loading branch information
carlmontanari authored Jul 10, 2022
2 parents 27ac041 + 443dad0 commit fa8e699
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions assets/platforms/juniper_junos.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,31 +4,31 @@ default:
privilege-levels:
exec:
name: 'exec'
pattern: '(?im)^({\w+:\d}\n){0,1}[\w\-@()/:]{1,63}>\s?$'
pattern: '(?im)^({\w+:\d}\n){0,1}[\w\-@()/:\.]{1,63}>\s?$'
previous-priv:
deescalate:
escalate:
escalate-auth: false
escalate-prompt:
configuration:
name: 'configuration'
pattern: '(?im)^({\w+:\d}\[edit\]\n){0,1}[\w\-@()/:]{1,63}#\s?$'
pattern: '(?im)^({\w+:\d}\[edit\]\n){0,1}[\w\-@()/:\.]{1,63}#\s?$'
previous-priv: 'exec'
deescalate: 'exit configuration-mode'
escalate: 'configure'
escalate-auth: false
escalate-prompt:
configuration-exclusive:
name: 'configuration-exclusive'
pattern: '(?im)^({\w+:\d}\[edit\]\n){0,1}[\w\-@()/:]{1,63}#\s?$'
pattern: '(?im)^({\w+:\d}\[edit\]\n){0,1}[\w\-@()/:\.]{1,63}#\s?$'
previous-priv: 'exec'
deescalate: 'exit configuration-mode'
escalate: 'configure exclusive'
escalate-auth: false
escalate-prompt:
configuration-private:
name: 'configuration-private'
pattern: '(?im)^({\w+:\d}\[edit\]\n){0,1}[\w\-@()/:]{1,63}#\s?$'
pattern: '(?im)^({\w+:\d}\[edit\]\n){0,1}[\w\-@()/:\.]{1,63}#\s?$'
previous-priv: 'exec'
deescalate: 'exit configuration-mode'
escalate: 'configure private'
Expand Down

0 comments on commit fa8e699

Please sign in to comment.