df2a4ded98
Added source interface support for NTP. Also made NTP start on Mgmt-VRF by default when configured. **- How I did it** 1) Updated hostcfg to listen to global config NTP and NTP_SERVER tables and restart ntp when ever the configuration changes. NTP table includes source interface configuration. 2) The ntp script updated to by default start on Mgmt-VFT when configured. Signed-off-by: Prabhu Sreenivasan <prabhu.sreenivasan@broadcom>
14 lines
237 B
Desktop File
14 lines
237 B
Desktop File
[Unit]
|
|
Description=Update NTP configuration
|
|
Requires=updategraph.service
|
|
After=updategraph.service
|
|
Before=ntp.service
|
|
StartLimitIntervalSec=0
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
ExecStart=/usr/bin/ntp-config.sh
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|