blob: db4cc141ca06c1cb84cf6a0436f3279f6cecf4ba [file] [log] [blame]
Tomáš Pecka7f3212e2022-06-13 15:45:30 +02001{
Tomáš Peckabaf3e862022-10-03 16:59:05 +02002 "ietf-alarms:alarms": {
3 "control": {
4 "alarm-shelving": {
5 "shelf": [
6 {
7 "name": "systemd journal upload",
8 "resource": [
9 "systemd-journal-upload.service"
10 ],
11 "alarm-type": [
12 {
13 "alarm-type-id": "velia-alarms:systemd-unit-failure",
14 "alarm-type-qualifier-match": ""
15 }
16 ],
17 "description": "Ignore systemd-journal-upload.service failures"
18 }
19 ]
20 }
21 }
22 },
Tomáš Pecka7f3212e2022-06-13 15:45:30 +020023 "ietf-interfaces:interfaces": {
24 "interface": [
25 {
26 "ietf-ip:ipv4": {
27 "czechlight-network:dhcp-client": true
28 },
29 "ietf-ip:ipv6": {
30 "autoconf": {
31 "create-global-addresses": true
32 },
33 "enabled": true
34 },
35 "name": "br0",
36 "type": "iana-if-type:bridge"
37 },
38 {
39 "czechlight-network:bridge": "br0",
40 "name": "eth1",
41 "type": "iana-if-type:ethernetCsmacd"
42 },
43 {
44 "czechlight-network:bridge": "br0",
45 "name": "eth0",
46 "type": "iana-if-type:ethernetCsmacd"
47 },
48 {
49 "czechlight-network:bridge": "br0",
50 "name": "oscE",
51 "type": "iana-if-type:ethernetCsmacd"
52 },
53 {
54 "czechlight-network:bridge": "br0",
55 "name": "oscW",
56 "type": "iana-if-type:ethernetCsmacd"
57 }
58 ]
Tomáš Peckab31a0892023-07-19 11:12:29 +020059 },
60 "ietf-netconf-acm:nacm": {
61 "rule-list": [
62 {
Tomáš Pecka6570b572023-07-18 16:56:50 +020063 "name": "Permit yangnobody user/group to read only some modules",
64 "group": [
65 "yangnobody"
66 ],
67 "rule": [
68 {
69 "name": "czechlight-roadm-device",
70 "module-name": "czechlight-roadm-device",
71 "action": "permit",
72 "access-operations": "read"
73 },
74 {
75 "name": "czechlight-inline-amp",
76 "module-name": "czechlight-inline-amp",
77 "action": "permit",
78 "access-operations": "read"
79 },
80 {
81 "name": "czechlight-coherent-add-drop",
82 "module-name": "czechlight-coherent-add-drop",
83 "action": "permit",
84 "access-operations": "read"
85 },
86 {
87 "name": "ietf-yang-library",
88 "module-name": "ietf-yang-library",
89 "action": "permit",
90 "access-operations": "read"
91 },
92 {
93 "name": "ietf-hardware",
94 "module-name": "ietf-hardware",
95 "action": "permit",
96 "access-operations": "read"
97 },
98 {
99 "name": "ietf-interfaces",
100 "module-name": "ietf-interfaces",
101 "action": "permit",
102 "access-operations": "read"
103 },
104 {
105 "name": "ietf-system: contact",
106 "module-name": "ietf-system",
107 "action": "permit",
108 "path": "/ietf-system:system/contact",
109 "access-operations": "read"
110 },
111 {
112 "name": "ietf-system: hostname",
113 "module-name": "ietf-system",
114 "action": "permit",
115 "path": "/ietf-system:system/hostname",
116 "access-operations": "read"
117 },
118 {
119 "name": "ietf-system: location",
120 "module-name": "ietf-system",
121 "action": "permit",
122 "path": "/ietf-system:system/location",
123 "access-operations": "read"
124 },
125 {
126 "name": "ietf-system: clock",
127 "module-name": "ietf-system",
128 "action": "permit",
129 "path": "/ietf-system:system/clock",
130 "access-operations": "read"
131 },
132 {
133 "name": "ietf-system: system-state",
134 "module-name": "ietf-system",
135 "action": "permit",
136 "path": "/ietf-system:system-state",
137 "access-operations": "read"
138 },
139 {
140 "name": "czechlight-lldp",
141 "module-name": "czechlight-lldp",
142 "action": "permit",
143 "access-operations": "read"
144 },
145 {
146 "name": "czechlight-system:firmware",
147 "module-name": "czechlight-system",
148 "path": "/czechlight-system:firmware",
149 "action": "permit",
150 "access-operations": "read"
151 },
152 {
153 "name": "czechlight-system:leds",
154 "module-name": "czechlight-system",
155 "path": "/czechlight-system:leds",
156 "action": "permit",
157 "access-operations": "read"
158 },
159 {
160 "name": "wildcard-deny",
161 "module-name": "*",
162 "action": "deny",
163 "access-operations": "*"
164 }
165 ]
166 },
167 {
Tomáš Peckab31a0892023-07-19 11:12:29 +0200168 "name": "Allow DWDM control to the optics group",
Tomáš Pecka6570b572023-07-18 16:56:50 +0200169 "group": [
170 "optics"
171 ],
Tomáš Peckab31a0892023-07-19 11:12:29 +0200172 "rule": [
173 {
174 "name": "czechlight-roadm-device",
175 "module-name": "czechlight-roadm-device",
176 "action": "permit"
177 },
178 {
179 "name": "czechlight-inline-amp",
180 "module-name": "czechlight-inline-amp",
181 "action": "permit"
182 },
183 {
184 "name": "czechlight-coherent-add-drop",
185 "module-name": "czechlight-coherent-add-drop",
186 "action": "permit"
187 },
188 {
189 "name": "czechlight-calibration-device",
190 "module-name": "czechlight-calibration-device",
191 "action": "permit"
192 }
193 ]
194 }
195 ]
Tomáš Pecka7f3212e2022-06-13 15:45:30 +0200196 }
197}