blob: 0d9e1044465a6ff990b40df9e3f966e7d3f19abc [file] [log] [blame]
Tomáš Pecka04eb7372022-06-07 08:03:04 +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áš Pecka04eb7372022-06-07 08:03:04 +020023 "ietf-interfaces:interfaces": {
24 "interface": [
25 {
26 "name": "br0",
27 "type": "iana-if-type:bridge",
28 "ietf-ip:ipv4": {
29 "czechlight-network:dhcp-client": true
30 },
31 "ietf-ip:ipv6": {
32 "enabled": true,
33 "autoconf": {
34 "create-global-addresses": true
35 }
36 }
37 },
38 {
39 "name": "eth1",
40 "type": "iana-if-type:ethernetCsmacd",
41 "czechlight-network:bridge": "br0"
42 },
43 {
44 "name": "eth0",
45 "type": "iana-if-type:ethernetCsmacd",
46 "czechlight-network:bridge": "br0"
Tomáš Pecka7f3212e2022-06-13 15:45:30 +020047 },
48 {
49 "name": "oscE",
50 "type": "iana-if-type:ethernetCsmacd",
51 "czechlight-network:bridge": "br0"
52 },
53 {
54 "name": "oscW",
55 "type": "iana-if-type:ethernetCsmacd",
56 "czechlight-network:bridge": "br0"
Tomáš Pecka04eb7372022-06-07 08:03:04 +020057 }
58 ]
59 },
60 "ietf-keystore:keystore": {
61 "asymmetric-keys": {
62 "asymmetric-key": [
63 {
64 "name": "genkey",
65 "algorithm": "rsa2048",
66 "public-key": "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAs/tnburJOGHcvSOKw7SdOfEvZD28WatHUfuWRCWZoElXtX1sNkBFXvRbKahOR8sZ221iRdlZ89bBVtTeX8N2wg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tMVPrCqe9NavzJPzhaYeUT6+QPeDhl+/zwuPV2NqjG6kdnX66BCDTp6zy8BFs3yzTazOp6hhi2RlzWGeCAhcjmbR4+YMOQx5RW4MocRycu5dTMnOJU3aDZJQd5AoxtXhkW7VsCIECgYEAzxD1SU2ApRlNT2FZ5ZaKg2zEqh/Q+iLB3ORra8n1EyxIl/smS33+L1Qd0z/tnlLu6Hr+nYAtnhTgssFTPXq2X0+CURQA85mlQ+W8pstsckXHl+5ZYeqRaE+A5irimFJVNS8iU751HlvxrsgpmnkkqoS7pgIZeYFIj93boN25iRkCgYBzxKvoBfxCHAwynC2moiueICp/0Owk5EDuzFXicSe7XnQJpZGWL99TGU/neY8RMpwMgbIQNpt+/JmZ/Y3D8Df1h+K2vTuT/WzoXBkPEE0Z12AuVZh2aTvxvHowMP4zyqSz9OUdOIrk9p7w1pVZjVToUKOhw5Idn9Qm9yE3uZcggQKBgFNVKNIKXdaT2zgyHqK2NiJ0OKWazliMemayisTDb1z6+nAnxB6now9bE/G7jZ6lE77+GNA8EJ/JGTD3es+IPjMXZYPJwCRJVmh/4a9iuM84Y/4yD0jHxSMss9xtr+nLYL1Zrb/0K2A/coF7zrp7PJVfe8FwoN30eMZlbAlOkmepAoGBAIHPHBIgfSaUJziqqrlqygbZkMhN69k8C5chQJCEl8JfTlr+aX7Gz2+pWpuQoE/JVAZO8w5p608TIavZuy5bANJ0RnDg6EVWuvzpMw92G9OPV30dCy+WmEHaoEkvtl7kIpHdxN0MCFVM7eY14qcxB4p1eRWgJZFBQLa3GuGK5GVX"
68 }
69 ]
70 }
71 },
Tomáš Pecka04eb7372022-06-07 08:03:04 +020072 "ietf-netconf-server:netconf-server": {
73 "listen": {
74 "endpoint": [
75 {
76 "name": "default-ssh",
77 "ssh": {
78 "tcp-server-parameters": {
79 "local-address": "::",
80 "keepalives": {
81 "idle-time": 1,
82 "max-probes": 10,
83 "probe-interval": 5
84 }
85 },
86 "ssh-server-parameters": {
87 "server-identity": {
88 "host-key": [
89 {
90 "name": "default-key",
91 "public-key": {
92 "keystore-reference": "genkey"
93 }
94 }
95 ]
96 },
97 "client-authentication": {
98 "supported-authentication-methods": {
99 "publickey": [null],
100 "passsword": [null],
101 "other": [
102 "interactive"
103 ]
104 }
105 }
106 }
107 }
108 }
109 ]
110 }
Tomáš Pecka6570b572023-07-18 16:56:50 +0200111 },
112 "ietf-netconf-acm:nacm": {
113 "rule-list": [
114 {
115 "name": "Permit yangnobody user/group to read only some modules",
116 "group": [
117 "yangnobody"
118 ],
119 "rule": [
120 {
121 "name": "czechlight-roadm-device",
122 "module-name": "czechlight-roadm-device",
123 "action": "permit",
124 "access-operations": "read"
125 },
126 {
127 "name": "czechlight-inline-amp",
128 "module-name": "czechlight-inline-amp",
129 "action": "permit",
130 "access-operations": "read"
131 },
132 {
133 "name": "czechlight-coherent-add-drop",
134 "module-name": "czechlight-coherent-add-drop",
135 "action": "permit",
136 "access-operations": "read"
137 },
138 {
139 "name": "ietf-yang-library",
140 "module-name": "ietf-yang-library",
141 "action": "permit",
142 "access-operations": "read"
143 },
144 {
145 "name": "ietf-hardware",
146 "module-name": "ietf-hardware",
147 "action": "permit",
148 "access-operations": "read"
149 },
150 {
151 "name": "ietf-interfaces",
152 "module-name": "ietf-interfaces",
153 "action": "permit",
154 "access-operations": "read"
155 },
156 {
157 "name": "ietf-system: contact",
158 "module-name": "ietf-system",
159 "action": "permit",
160 "path": "/ietf-system:system/contact",
161 "access-operations": "read"
162 },
163 {
164 "name": "ietf-system: hostname",
165 "module-name": "ietf-system",
166 "action": "permit",
167 "path": "/ietf-system:system/hostname",
168 "access-operations": "read"
169 },
170 {
171 "name": "ietf-system: location",
172 "module-name": "ietf-system",
173 "action": "permit",
174 "path": "/ietf-system:system/location",
175 "access-operations": "read"
176 },
177 {
178 "name": "ietf-system: clock",
179 "module-name": "ietf-system",
180 "action": "permit",
181 "path": "/ietf-system:system/clock",
182 "access-operations": "read"
183 },
184 {
185 "name": "ietf-system: system-state",
186 "module-name": "ietf-system",
187 "action": "permit",
188 "path": "/ietf-system:system-state",
189 "access-operations": "read"
190 },
191 {
192 "name": "czechlight-lldp",
193 "module-name": "czechlight-lldp",
194 "action": "permit",
195 "access-operations": "read"
196 },
197 {
198 "name": "czechlight-system:firmware",
199 "module-name": "czechlight-system",
200 "path": "/czechlight-system:firmware",
201 "action": "permit",
202 "access-operations": "read"
203 },
204 {
205 "name": "czechlight-system:leds",
206 "module-name": "czechlight-system",
207 "path": "/czechlight-system:leds",
208 "action": "permit",
209 "access-operations": "read"
210 },
211 {
212 "name": "wildcard-deny",
213 "module-name": "*",
214 "action": "deny",
215 "access-operations": "*"
216 }
217 ]
218 },
219 {
220 "name": "Allow DWDM control to the optics group",
221 "group": [
222 "optics"
223 ],
224 "rule": [
225 {
226 "name": "czechlight-roadm-device",
227 "module-name": "czechlight-roadm-device",
228 "action": "permit"
229 },
230 {
231 "name": "czechlight-inline-amp",
232 "module-name": "czechlight-inline-amp",
233 "action": "permit"
234 },
235 {
236 "name": "czechlight-coherent-add-drop",
237 "module-name": "czechlight-coherent-add-drop",
238 "action": "permit"
239 },
240 {
241 "name": "czechlight-calibration-device",
242 "module-name": "czechlight-calibration-device",
243 "action": "permit"
244 }
245 ]
246 }
247 ]
Tomáš Pecka04eb7372022-06-07 08:03:04 +0200248 }
249}