blob: ae8b85346a21b63e6121fc68b411cb594c2f7f29 (
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
|
---
merged:
before: {}
commands:
- set system syslog host 172.16.2.15 facility all level all
- set system syslog console facility all
- set system syslog user vyos facility local7 level debug
- set system syslog global facility cron level debug
- set system syslog global archive file 2
- set system syslog global archive size 111
- set system syslog file def archive file 2
- set system syslog file def facility local6 level emerg
after:
console:
facilities:
- facility: all
files:
- path: def
facilities:
- facility: local6
severity: emerg
hosts:
- hostname: 172.16.2.15
facilities:
- facility: all
severity: all
users:
- username: vyos
facilities:
- facility: local7
severity: debug
global_params:
archive:
size: 111
facilities:
- facility: cron
severity: debug
overridden:
commands:
- delete system syslog file def
- delete system syslog global facility cron
- delete system syslog global facility local7
- delete system syslog host 172.16.2.12
- delete system syslog host 172.16.2.15
- delete system syslog user paul
- delete system syslog user vyos
- set system syslog console facility all
- set system syslog global archive file 2
- delete system syslog global archive size 111
after:
console:
facilities:
- facility: all
- facility: local7
severity: err
- facility: news
severity: debug
files:
- path: Myfile
global_params:
archive:
file_num: 2
rendered:
commands:
- set system syslog console facility all
- set system syslog file abc archive size 125
- set system syslog host 172.16.2.15 facility all level all
- set system syslog user vyos facility local7 level debug
- set system syslog global facility cron level debug
- set system syslog global archive file 2
- set system syslog global archive size 111
deleted:
commands:
- delete system syslog
after: {}
parsed:
after:
console:
facilities:
- facility: news
severity: debug
files:
- path: def
facilities:
- facility: local7
severity: emerg
global_params:
facilities:
- facility: local7
severity: debug
|