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