Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/genie/libs/parser/iosxe/show_ntp.py
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,7 @@ def cli(self, output=None):
# ntp server 10.3.254.100 prefer
Comment thread
jlmcgraw marked this conversation as resolved.
p1 = re.compile(r"^ntp +(?P<type>\w+)( +vrf +(?P<vrf>\S+))? "
r"+(?P<address>[\w\.\:]+)( +source +"
r"(?P<source_interface>[\w]+))?(?P<prefer> prefer)?$")
r"(?P<source_interface>[\w]+))?( +key +(?P<key>\S+))?(?P<prefer> prefer)?$")
Comment thread
jlmcgraw marked this conversation as resolved.
Outdated

for line in out.splitlines():
line = line.strip()
Expand Down