Commit 15da03d9 authored by kk's avatar kk
Browse files

confdb juniper-junos. fix2 ntp

parent 7e386f21
Pipeline #15546 passed with stages
in 11 minutes and 35 seconds
......@@ -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])
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment