Commit da9079b2 authored by kk's avatar kk
Browse files

confdb juniper-junos add ntp

parent fdbe639a
Pipeline #15169 failed with stages
in 40 seconds
......@@ -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])
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