Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
noc
noc
Commits
15da03d9
Commit
15da03d9
authored
Aug 24, 2019
by
kk
Browse files
confdb juniper-junos. fix2 ntp
parent
7e386f21
Pipeline
#15546
passed with stages
in 11 minutes and 35 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
sa/profiles/Juniper/JUNOS/confdb/normalizer.py
View file @
15da03d9
...
...
@@ -139,6 +139,8 @@ class JunOSNormalizer(BaseNormalizer):
def
normalize_timesource
(
self
,
tokens
):
yield
self
.
make_clock_source
(
source
=
"ntp"
)
@
match
(
"system"
,
"ntp"
,
"server"
,
ANY
)
@
match
(
"system"
,
"ntp"
,
"server"
,
ANY
,
ANY
)
@
match
(
"system"
,
"ntp"
,
"server"
,
ANY
,
ANY
,
ANY
,
ANY
,
ANY
)
def
normalize_ntp_server
(
self
,
tokens
):
yield
self
.
make_ntp_server_address
(
name
=
"
0
"
,
address
=
tokens
[
3
])
yield
self
.
make_ntp_server_address
(
name
=
"
address
"
,
address
=
tokens
[
3
])
MaksimSmile13
@sysfaray
mentioned in commit
c5d2d32f
·
Aug 27, 2019
mentioned in commit
c5d2d32f
mentioned in commit c5d2d32f705a4ad20282c87d278435fa9ac64746
Toggle commit list
MaksimSmile13
@sysfaray
mentioned in merge request
!2542 (merged)
·
Aug 27, 2019
mentioned in merge request
!2542 (merged)
mentioned in merge request !2542
Toggle commit list
MaksimSmile13
@sysfaray
mentioned in commit
68949c4c
·
Aug 27, 2019
mentioned in commit
68949c4c
mentioned in commit 68949c4cc9be984dd6abea8724fe24b1a387695f
Toggle commit list
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment