Alex Stancu | 3bbf9d8 | 2021-04-09 15:13:00 +0300 | [diff] [blame] | 1 | { |
| 2 | "container-rules": { |
| 3 | "excluded-modules": [], |
Alex Stancu | cc4e489 | 2023-05-03 16:05:24 +0300 | [diff] [blame^] | 4 | "excluded-features": ["o-ran-wg4-features:SUPERVISION-WITH-SESSION-ID"] |
Alex Stancu | 3bbf9d8 | 2021-04-09 15:13:00 +0300 | [diff] [blame] | 5 | }, |
| 6 | |
| 7 | "supervisor-rules": { |
| 8 | "netopeer": { |
| 9 | "path": "/usr/local/bin/netopeer2-server", |
| 10 | "args": ["-d", "-v2"], |
| 11 | "autorestart": true, |
| 12 | "stdout": "log/netopeer-stdout.log", |
| 13 | "stderr": "log/netopeer-stderr.log" |
| 14 | }, |
Alex Stancu | cc4e489 | 2023-05-03 16:05:24 +0300 | [diff] [blame^] | 15 | |
Alex Stancu | 3bbf9d8 | 2021-04-09 15:13:00 +0300 | [diff] [blame] | 16 | "sshd": { |
| 17 | "path": "/usr/sbin/sshd", |
| 18 | "args": ["-D"], |
| 19 | "autorestart": true, |
| 20 | "stdout": "log/sshd-stdout.log", |
| 21 | "stderr": "log/sshd-stderr.log" |
| 22 | }, |
Alex Stancu | cc4e489 | 2023-05-03 16:05:24 +0300 | [diff] [blame^] | 23 | |
Alex Stancu | 3bbf9d8 | 2021-04-09 15:13:00 +0300 | [diff] [blame] | 24 | "ntsim-network-function": { |
| 25 | "path": "/opt/dev/ntsim-ng/ntsim-ng", |
| 26 | "args": ["-w/opt/dev/ntsim-ng", "-f"], |
| 27 | "nomanual": true |
| 28 | } |
| 29 | }, |
| 30 | |
| 31 | "datastore-random-generation-rules" : { |
| 32 | "excluded-modules": [ |
| 33 | "sysrepo", |
| 34 | "sysrepo-monitoring", |
| 35 | "ietf-yang-library", |
| 36 | "ietf-netconf-acm", |
| 37 | "ietf-netconf-monitoring", |
| 38 | "nc-notifications", |
| 39 | "ietf-keystore", |
| 40 | "ietf-truststore", |
| 41 | "ietf-system", |
| 42 | "ietf-netconf-server", |
| 43 | "ietf-alarms", |
| 44 | "ietf-network-instance", |
| 45 | "ietf-restconf", |
| 46 | "ietf-yang-schema-mount", |
| 47 | "ietf-subscribed-notifications", |
| 48 | "o-ran-uplane-conf", |
| 49 | "o-ran-performance-management", |
| 50 | "o-ran-transceiver", |
| 51 | "o-ran-mplane-int", |
| 52 | "o-ran-processing-element", |
| 53 | "o-ran-shared-cell", |
| 54 | "nts-network-function" |
| 55 | ], |
Alex Stancu | cc4e489 | 2023-05-03 16:05:24 +0300 | [diff] [blame^] | 56 | |
Alex Stancu | 3bbf9d8 | 2021-04-09 15:13:00 +0300 | [diff] [blame] | 57 | "default-list-instances": 2, |
| 58 | "custom-list-instances" : [ |
| 59 | {"/ietf-interfaces:interfaces/interface": 4} |
| 60 | |
| 61 | ], |
| 62 | |
| 63 | "restrict-schema": [ |
| 64 | {"/ietf-interfaces:interfaces/interface/type": ["iana-if-type:ethernetCsmacd"]} |
| 65 | ] |
| 66 | |
| 67 | }, |
| 68 | |
| 69 | "datastore-populate-rules": { |
| 70 | "random-generation-enabled": true, |
| 71 | |
| 72 | "pre-generated-operational-data": [ |
Alex Stancu | 6d03d77 | 2021-05-10 19:35:52 +0300 | [diff] [blame] | 73 | "../deploy/data/ietf-hardware-operational.json", |
| 74 | "../deploy/data/ietf-interfaces-operational.xml" |
Alex Stancu | 3bbf9d8 | 2021-04-09 15:13:00 +0300 | [diff] [blame] | 75 | ], |
| 76 | "pre-generated-running-data": [ |
Alex Stancu | 6d03d77 | 2021-05-10 19:35:52 +0300 | [diff] [blame] | 77 | "../deploy/data/ietf-hardware-running.json", |
| 78 | "../deploy/data/ietf-interfaces-running.xml" |
Alex Stancu | 3bbf9d8 | 2021-04-09 15:13:00 +0300 | [diff] [blame] | 79 | ] |
| 80 | }, |
| 81 | |
| 82 | "fault-rules" : { |
Alex Stancu | 6d03d77 | 2021-05-10 19:35:52 +0300 | [diff] [blame] | 83 | "yang-notif-template" : "<alarm-notif xmlns=\"urn:o-ran:fm:1.0\"><fault-id>%%fault-id%%</fault-id><fault-source>%%object%%</fault-source><affected-objects><name>%%affected-object%%</name></affected-objects><fault-severity>%%fault-severity%%</fault-severity><is-cleared>%%cleared%%</is-cleared><fault-text>%%text%%</fault-text><event-time>%%date-time%%</event-time></alarm-notif>", |
Alex Stancu | 3bbf9d8 | 2021-04-09 15:13:00 +0300 | [diff] [blame] | 84 | "choosing-method" : "linear", |
| 85 | "faults" : [ |
| 86 | { |
Alex Stancu | 6d03d77 | 2021-05-10 19:35:52 +0300 | [diff] [blame] | 87 | "condition" : "Interface Fault", |
| 88 | "object" : "interface-1", |
Alex Stancu | 3bbf9d8 | 2021-04-09 15:13:00 +0300 | [diff] [blame] | 89 | "severity" : "MAJOR", |
| 90 | "date-time" : "$$time$$", |
Alex Stancu | 6d03d77 | 2021-05-10 19:35:52 +0300 | [diff] [blame] | 91 | "specific-problem" : "Interface Fault", |
Alex Stancu | cc4e489 | 2023-05-03 16:05:24 +0300 | [diff] [blame^] | 92 | |
Alex Stancu | 6d03d77 | 2021-05-10 19:35:52 +0300 | [diff] [blame] | 93 | "fault-id": "30", |
Alex Stancu | 3bbf9d8 | 2021-04-09 15:13:00 +0300 | [diff] [blame] | 94 | "fault-severity" : "MAJOR", |
Alex Stancu | 6d03d77 | 2021-05-10 19:35:52 +0300 | [diff] [blame] | 95 | "affected-object" : "$$hostname$$", |
Alex Stancu | 3bbf9d8 | 2021-04-09 15:13:00 +0300 | [diff] [blame] | 96 | "cleared" : "false", |
Alex Stancu | 6d03d77 | 2021-05-10 19:35:52 +0300 | [diff] [blame] | 97 | "text" : "Interface Fault" |
Alex Stancu | 3bbf9d8 | 2021-04-09 15:13:00 +0300 | [diff] [blame] | 98 | }, |
| 99 | |
| 100 | { |
Alex Stancu | 6d03d77 | 2021-05-10 19:35:52 +0300 | [diff] [blame] | 101 | "condition" : "Interface Fault", |
| 102 | "object" : "interface-1", |
Alex Stancu | 3bbf9d8 | 2021-04-09 15:13:00 +0300 | [diff] [blame] | 103 | "severity" : "NORMAL", |
| 104 | "date-time" : "$$time$$", |
Alex Stancu | 6d03d77 | 2021-05-10 19:35:52 +0300 | [diff] [blame] | 105 | "specific-problem" : "Interface Fault", |
Alex Stancu | 3bbf9d8 | 2021-04-09 15:13:00 +0300 | [diff] [blame] | 106 | |
Alex Stancu | 6d03d77 | 2021-05-10 19:35:52 +0300 | [diff] [blame] | 107 | "fault-id": "30", |
Alex Stancu | 3bbf9d8 | 2021-04-09 15:13:00 +0300 | [diff] [blame] | 108 | "fault-severity" : "MAJOR", |
Alex Stancu | 6d03d77 | 2021-05-10 19:35:52 +0300 | [diff] [blame] | 109 | "affected-object" : "$$hostname$$", |
Alex Stancu | 3bbf9d8 | 2021-04-09 15:13:00 +0300 | [diff] [blame] | 110 | "cleared" : "true", |
Alex Stancu | 6d03d77 | 2021-05-10 19:35:52 +0300 | [diff] [blame] | 111 | "text" : "Interface Fault" |
Alex Stancu | 3bbf9d8 | 2021-04-09 15:13:00 +0300 | [diff] [blame] | 112 | }, |
| 113 | |
| 114 | { |
Alex Stancu | 6d03d77 | 2021-05-10 19:35:52 +0300 | [diff] [blame] | 115 | "condition" : "C/U-plane logical Connection faulty", |
| 116 | "object" : "interface-1", |
Alex Stancu | 3bbf9d8 | 2021-04-09 15:13:00 +0300 | [diff] [blame] | 117 | "severity" : "MAJOR", |
| 118 | "date-time" : "$$time$$", |
Alex Stancu | 6d03d77 | 2021-05-10 19:35:52 +0300 | [diff] [blame] | 119 | "specific-problem" : "C/U-plane logical Connection faulty", |
Alex Stancu | 3bbf9d8 | 2021-04-09 15:13:00 +0300 | [diff] [blame] | 120 | |
Alex Stancu | 6d03d77 | 2021-05-10 19:35:52 +0300 | [diff] [blame] | 121 | "fault-id": "28", |
Alex Stancu | 3bbf9d8 | 2021-04-09 15:13:00 +0300 | [diff] [blame] | 122 | "fault-severity" : "MAJOR", |
Alex Stancu | 6d03d77 | 2021-05-10 19:35:52 +0300 | [diff] [blame] | 123 | "affected-object" : "$$hostname$$", |
Alex Stancu | 3bbf9d8 | 2021-04-09 15:13:00 +0300 | [diff] [blame] | 124 | "cleared" : "false", |
Alex Stancu | 6d03d77 | 2021-05-10 19:35:52 +0300 | [diff] [blame] | 125 | "text" : "C/U-plane logical Connection faulty" |
Alex Stancu | 3bbf9d8 | 2021-04-09 15:13:00 +0300 | [diff] [blame] | 126 | }, |
| 127 | |
| 128 | { |
Alex Stancu | 6d03d77 | 2021-05-10 19:35:52 +0300 | [diff] [blame] | 129 | "condition" : "C/U-plane logical Connection faulty", |
| 130 | "object" : "interface-1", |
Alex Stancu | 3bbf9d8 | 2021-04-09 15:13:00 +0300 | [diff] [blame] | 131 | "severity" : "NORMAL", |
| 132 | "date-time" : "$$time$$", |
Alex Stancu | 6d03d77 | 2021-05-10 19:35:52 +0300 | [diff] [blame] | 133 | "specific-problem" : "C/U-plane logical Connection faulty", |
Alex Stancu | 3bbf9d8 | 2021-04-09 15:13:00 +0300 | [diff] [blame] | 134 | |
Alex Stancu | 6d03d77 | 2021-05-10 19:35:52 +0300 | [diff] [blame] | 135 | "fault-id": "28", |
Alex Stancu | 3bbf9d8 | 2021-04-09 15:13:00 +0300 | [diff] [blame] | 136 | "fault-severity" : "MAJOR", |
Alex Stancu | 6d03d77 | 2021-05-10 19:35:52 +0300 | [diff] [blame] | 137 | "affected-object" : "$$hostname$$", |
Alex Stancu | 3bbf9d8 | 2021-04-09 15:13:00 +0300 | [diff] [blame] | 138 | "cleared" : "true", |
Alex Stancu | 6d03d77 | 2021-05-10 19:35:52 +0300 | [diff] [blame] | 139 | "text" : "C/U-plane logical Connection faulty" |
Alex Stancu | 3bbf9d8 | 2021-04-09 15:13:00 +0300 | [diff] [blame] | 140 | } |
| 141 | ] |
| 142 | } |
Alex Stancu | cc4e489 | 2023-05-03 16:05:24 +0300 | [diff] [blame^] | 143 | } |