blob: b370ba771ac4668ef4574d7c6384efdcf74f3f43 [file] [log] [blame]
Tomáš Pecka6570b572023-07-18 16:56:50 +02001{
2 "ietf-netconf-acm:nacm": {
3 "rule-list": [
4 {
5 "@": {
6 "yang:insert": "first"
7 },
8 "name": "Permit yangnobody user/group to read only some modules",
9 "group": [
10 "yangnobody"
11 ],
12 "rule": [
13 {
14 "name": "czechlight-roadm-device",
15 "module-name": "czechlight-roadm-device",
16 "action": "permit",
17 "access-operations": "read"
18 },
19 {
20 "name": "czechlight-inline-amp",
21 "module-name": "czechlight-inline-amp",
22 "action": "permit",
23 "access-operations": "read"
24 },
25 {
26 "name": "czechlight-coherent-add-drop",
27 "module-name": "czechlight-coherent-add-drop",
28 "action": "permit",
29 "access-operations": "read"
30 },
31 {
32 "name": "ietf-yang-library",
33 "module-name": "ietf-yang-library",
34 "action": "permit",
35 "access-operations": "read"
36 },
37 {
38 "name": "ietf-hardware",
39 "module-name": "ietf-hardware",
40 "action": "permit",
41 "access-operations": "read"
42 },
43 {
44 "name": "ietf-interfaces",
45 "module-name": "ietf-interfaces",
46 "action": "permit",
47 "access-operations": "read"
48 },
49 {
50 "name": "ietf-system: contact",
51 "module-name": "ietf-system",
52 "action": "permit",
53 "path": "/ietf-system:system/contact",
54 "access-operations": "read"
55 },
56 {
57 "name": "ietf-system: hostname",
58 "module-name": "ietf-system",
59 "action": "permit",
60 "path": "/ietf-system:system/hostname",
61 "access-operations": "read"
62 },
63 {
64 "name": "ietf-system: location",
65 "module-name": "ietf-system",
66 "action": "permit",
67 "path": "/ietf-system:system/location",
68 "access-operations": "read"
69 },
70 {
71 "name": "ietf-system: clock",
72 "module-name": "ietf-system",
73 "action": "permit",
74 "path": "/ietf-system:system/clock",
75 "access-operations": "read"
76 },
77 {
78 "name": "ietf-system: system-state",
79 "module-name": "ietf-system",
80 "action": "permit",
81 "path": "/ietf-system:system-state",
82 "access-operations": "read"
83 },
84 {
85 "name": "czechlight-lldp",
86 "module-name": "czechlight-lldp",
87 "action": "permit",
88 "access-operations": "read"
89 },
90 {
91 "name": "czechlight-system:firmware",
92 "module-name": "czechlight-system",
93 "path": "/czechlight-system:firmware",
94 "action": "permit",
95 "access-operations": "read"
96 },
97 {
98 "name": "czechlight-system:leds",
99 "module-name": "czechlight-system",
100 "path": "/czechlight-system:leds",
101 "action": "permit",
102 "access-operations": "read"
103 },
104 {
105 "name": "wildcard-deny",
106 "module-name": "*",
107 "action": "deny",
108 "access-operations": "*"
109 }
110 ]
111 }
112 ]
113 }
114}