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
da9079b2
Commit
da9079b2
authored
Aug 15, 2019
by
kk
Browse files
confdb juniper-junos add ntp
parent
fdbe639a
Pipeline
#15169
failed with stages
in 40 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
sa/profiles/Juniper/JUNOS/confdb/normalizer.py
View file @
da9079b2
...
...
@@ -134,3 +134,12 @@ class JunOSNormalizer(BaseNormalizer):
yield
self
.
make_forwarding_instance_description
(
instance
=
tokens
[
1
],
description
=
" "
.
join
(
tokens
[
3
:])
)
@
match
(
"system"
,
"ntp"
)
def
normalize_timesource
(
self
,
tokens
):
yield
self
.
make_clock_source
(
source
=
"ntp"
)
@
match
(
"system"
,
"ntp"
,
"server"
,
ANY
)
def
normalize_ntp_server
(
self
,
tokens
):
print
tokens
yield
self
.
make_ntp_server_address
(
name
=
"0"
,
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