blob: 9c351c97a107032f065558fb801f71eb58ed1a23 [file] [log] [blame]
Ondrej Smolad3c67032018-04-04 12:16:05 +02001ntp:
2 server:
3 enabled: true
4 auth:
5 enabled: true
6 secrets:
7 # Jsonschemavalidator expect pattern keys in str format
8 "1":
9 secret: Runrabbitrundigthath
10 secret_type: M
11 trustedkey: true
12 "2":
13 secret: Howiwishyouwereherew
14 secret_type: M
15 trustedkey: false
16 mode7: true
17 orphan: 5
18 peers:
19 - host: 192.168.31.1
20 - host: 192.168.31.2
21 - host: 192.168.31.3
22 restrict:
23 - mask: 255.255.255.0
24 subnet: 192.168.0.1
25 - mask: 255.255.0.0
26 options: notrap nomodify
27 subnet: 172.16.1.1
28 strata:
29 - ntp.cesnet.cz
30 - pool.ntp.org
31 stratum:
32 primary:
33 server: ntp.cesnet.cz
34 key_id: 1
35 secondary:
36 server: ntp.nic.cz
37 key_id: 2