Skip to content

Commit ec1d0d4

Browse files
committed
Update sample config with NTP config
Signed-off-by: Yevhen Fastiuk <[email protected]>
1 parent c37cea5 commit ec1d0d4

File tree

1 file changed

+25
-3
lines changed

1 file changed

+25
-3
lines changed

src/sonic-yang-models/tests/files/sample_config_db.json

+25-3
Original file line numberDiff line numberDiff line change
@@ -477,14 +477,36 @@
477477
},
478478
"NTP": {
479479
"global": {
480+
"authentication": "disabled",
481+
"dhcp": "enabled",
482+
"server_role": "disabled",
483+
"admin_state": "enabled",
480484
"vrf": "mgmt",
481485
"src_intf": "eth0;Loopback0"
482486
}
483487
},
484488
"NTP_SERVER": {
485-
"0.debian.pool.ntp.org": {},
486-
"23.92.29.245": {},
487-
"2001:aa:aa::aa": {}
489+
"0.debian.pool.ntp.org": {
490+
"association_type": "pool",
491+
"resolve_as": "0.debian.pool.ntp.org"
492+
},
493+
"time.google.com": {
494+
"association_type": "server",
495+
"resolve_as": "216.239.35.4"
496+
},
497+
"23.92.29.245": {
498+
"admin_state": "enabled",
499+
"association_type": "server",
500+
"resolve_as": "23.92.29.245",
501+
"iburst": "off",
502+
"trusted": "yes"
503+
},
504+
"2001:aa:aa::aa": {
505+
"admin_state": "disabled",
506+
"iburst": "on",
507+
"association_type": "server",
508+
"resolve_as": "2001:aa:aa::aa"
509+
}
488510
},
489511
"SYSLOG_SERVER" : {
490512
"10.13.14.17": {

0 commit comments

Comments
 (0)