summaryrefslogtreecommitdiff
path: root/tests/integration/targets/vyos_ntp_global/vars/main.yaml
blob: 3b4dbc4dfd5abfb013a8929b86f4dd12d31c218c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
---
rtt:
  commands:
    - set system ntp server server4 dynamic
    - set system ntp server 10.3.6.5 noselect
    - set system ntp server 10.3.6.5 dynamic
    - set system ntp server 10.3.6.5 preempt
    - set system ntp server server4 noselect
    - set system ntp server 10.3.6.5 prefer

merged:
  commands:
    - set system ntp server server5
    - set system ntp server server4 dynamic
    - set system ntp server 10.3.6.5 noselect
    - set system ntp server 10.3.6.5 dynamic
    - set system ntp server 10.3.6.5 preempt
    - set system ntp server server4 noselect
    - set system ntp server 10.3.6.5 prefer

  after:
    servers:
      - server: 0.pool.ntp.org
      - server: 1.pool.ntp.org
      - server: 10.3.6.5
        options:
          - dynamic
          - noselect
          - preempt
          - prefer
      - server: 2.pool.ntp.org

      - server: server4
        options:
          - dynamic
          - noselect

      - server: server5

replaced:
  commands:
    - delete system ntp server 10.3.6.5
    - delete system ntp server server4
    - delete system ntp server server5
    - set system ntp server server_new prefer

  after:
    servers:
      - server: 0.pool.ntp.org
      - server: 1.pool.ntp.org
      - server: 2.pool.ntp.org
      - options:
          - prefer
        server: server_new

overridden:
  commands:
    - delete system ntp server server_new
    - set system ntp server server1 dynamic
    - set system ntp server server1 prefer
    - set system ntp server server2 noselect
    - set system ntp server server2 preempt
    - set system ntp server server_add preempt


  after:
    servers:
      - server: 0.pool.ntp.org
      - server: 1.pool.ntp.org
      - server: 2.pool.ntp.org
      - server: server1
        options:
          - dynamic
          - prefer

      - server: server2
        options:
          - noselect
          - preempt
      - server: server_add
        options:
          - preempt

deleted:
  commands:
    - delete system ntp server 10.3.6.5
    - delete system ntp server server4
    - delete system ntp server server5

parsed:
  after:
    servers:
      - server: 0.pool.ntp.org

      - server: 1.pool.ntp.org
      - server: 10.3.6.5
        options:
          - dynamic
          - noselect
      - server: 2.pool.ntp.org

populate:
  config:
    servers:
      - server: 0.pool.ntp.org

      - server: 1.pool.ntp.org
      - server: 2.pool.ntp.org