Skip to content

Commit 08b5e7c

Browse files
committed
🐞 NTP: Fix minigraph config generation
Signed-off-by: Yevhen Fastiuk <[email protected]>
1 parent f60ef62 commit 08b5e7c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sonic-config-engine/minigraph.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2077,7 +2077,7 @@ def parse_xml(filename, platform=None, port_config_file=None, asic_name=None, hw
20772077
results['SYSLOG_SERVER'] = dict((item, {}) for item in syslog_servers)
20782078
results['DHCP_SERVER'] = dict((item, {}) for item in dhcp_servers)
20792079
results['DHCP_RELAY'] = dhcp_relay_table
2080-
results['NTP_SERVER'] = dict((item, {}) for item in ntp_servers)
2080+
results['NTP_SERVER'] = dict((item, {'resolve_as': item, 'association_type': 'server'}) for item in ntp_servers)
20812081
# Set default DNS nameserver from dns.j2
20822082
results['DNS_NAMESERVER'] = {}
20832083
if os.environ.get("CFGGEN_UNIT_TESTING", "0") == "2":

0 commit comments

Comments
 (0)