blob: 4d614cfb1d613f743b213e1a98d1d7ad4e492557 [file] [log] [blame]
Alex Stancu3bbf9d82021-04-09 15:13:00 +03001{
2 "container-rules": {
3 "excluded-modules": [],
Alex Stancucc4e4892023-05-03 16:05:24 +03004 "excluded-features": ["o-ran-wg4-features:SUPERVISION-WITH-SESSION-ID"]
Alex Stancu3bbf9d82021-04-09 15:13:00 +03005 },
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 Stancucc4e4892023-05-03 16:05:24 +030015
Alex Stancu3bbf9d82021-04-09 15:13:00 +030016 "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 Stancucc4e4892023-05-03 16:05:24 +030023
Alex Stancu3bbf9d82021-04-09 15:13:00 +030024 "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 Stancucc4e4892023-05-03 16:05:24 +030056
Alex Stancu3bbf9d82021-04-09 15:13:00 +030057 "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 Stancu6d03d772021-05-10 19:35:52 +030073 "../deploy/data/ietf-hardware-operational.json",
74 "../deploy/data/ietf-interfaces-operational.xml"
Alex Stancu3bbf9d82021-04-09 15:13:00 +030075 ],
76 "pre-generated-running-data": [
Alex Stancu6d03d772021-05-10 19:35:52 +030077 "../deploy/data/ietf-hardware-running.json",
78 "../deploy/data/ietf-interfaces-running.xml"
Alex Stancu3bbf9d82021-04-09 15:13:00 +030079 ]
80 },
81
82 "fault-rules" : {
Alex Stancu6d03d772021-05-10 19:35:52 +030083 "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 Stancu3bbf9d82021-04-09 15:13:00 +030084 "choosing-method" : "linear",
85 "faults" : [
86 {
Alex Stancu6d03d772021-05-10 19:35:52 +030087 "condition" : "Interface Fault",
88 "object" : "interface-1",
Alex Stancu3bbf9d82021-04-09 15:13:00 +030089 "severity" : "MAJOR",
90 "date-time" : "$$time$$",
Alex Stancu6d03d772021-05-10 19:35:52 +030091 "specific-problem" : "Interface Fault",
Alex Stancucc4e4892023-05-03 16:05:24 +030092
Alex Stancu6d03d772021-05-10 19:35:52 +030093 "fault-id": "30",
Alex Stancu3bbf9d82021-04-09 15:13:00 +030094 "fault-severity" : "MAJOR",
Alex Stancu6d03d772021-05-10 19:35:52 +030095 "affected-object" : "$$hostname$$",
Alex Stancu3bbf9d82021-04-09 15:13:00 +030096 "cleared" : "false",
Alex Stancu6d03d772021-05-10 19:35:52 +030097 "text" : "Interface Fault"
Alex Stancu3bbf9d82021-04-09 15:13:00 +030098 },
99
100 {
Alex Stancu6d03d772021-05-10 19:35:52 +0300101 "condition" : "Interface Fault",
102 "object" : "interface-1",
Alex Stancu3bbf9d82021-04-09 15:13:00 +0300103 "severity" : "NORMAL",
104 "date-time" : "$$time$$",
Alex Stancu6d03d772021-05-10 19:35:52 +0300105 "specific-problem" : "Interface Fault",
Alex Stancu3bbf9d82021-04-09 15:13:00 +0300106
Alex Stancu6d03d772021-05-10 19:35:52 +0300107 "fault-id": "30",
Alex Stancu3bbf9d82021-04-09 15:13:00 +0300108 "fault-severity" : "MAJOR",
Alex Stancu6d03d772021-05-10 19:35:52 +0300109 "affected-object" : "$$hostname$$",
Alex Stancu3bbf9d82021-04-09 15:13:00 +0300110 "cleared" : "true",
Alex Stancu6d03d772021-05-10 19:35:52 +0300111 "text" : "Interface Fault"
Alex Stancu3bbf9d82021-04-09 15:13:00 +0300112 },
113
114 {
Alex Stancu6d03d772021-05-10 19:35:52 +0300115 "condition" : "C/U-plane logical Connection faulty",
116 "object" : "interface-1",
Alex Stancu3bbf9d82021-04-09 15:13:00 +0300117 "severity" : "MAJOR",
118 "date-time" : "$$time$$",
Alex Stancu6d03d772021-05-10 19:35:52 +0300119 "specific-problem" : "C/U-plane logical Connection faulty",
Alex Stancu3bbf9d82021-04-09 15:13:00 +0300120
Alex Stancu6d03d772021-05-10 19:35:52 +0300121 "fault-id": "28",
Alex Stancu3bbf9d82021-04-09 15:13:00 +0300122 "fault-severity" : "MAJOR",
Alex Stancu6d03d772021-05-10 19:35:52 +0300123 "affected-object" : "$$hostname$$",
Alex Stancu3bbf9d82021-04-09 15:13:00 +0300124 "cleared" : "false",
Alex Stancu6d03d772021-05-10 19:35:52 +0300125 "text" : "C/U-plane logical Connection faulty"
Alex Stancu3bbf9d82021-04-09 15:13:00 +0300126 },
127
128 {
Alex Stancu6d03d772021-05-10 19:35:52 +0300129 "condition" : "C/U-plane logical Connection faulty",
130 "object" : "interface-1",
Alex Stancu3bbf9d82021-04-09 15:13:00 +0300131 "severity" : "NORMAL",
132 "date-time" : "$$time$$",
Alex Stancu6d03d772021-05-10 19:35:52 +0300133 "specific-problem" : "C/U-plane logical Connection faulty",
Alex Stancu3bbf9d82021-04-09 15:13:00 +0300134
Alex Stancu6d03d772021-05-10 19:35:52 +0300135 "fault-id": "28",
Alex Stancu3bbf9d82021-04-09 15:13:00 +0300136 "fault-severity" : "MAJOR",
Alex Stancu6d03d772021-05-10 19:35:52 +0300137 "affected-object" : "$$hostname$$",
Alex Stancu3bbf9d82021-04-09 15:13:00 +0300138 "cleared" : "true",
Alex Stancu6d03d772021-05-10 19:35:52 +0300139 "text" : "C/U-plane logical Connection faulty"
Alex Stancu3bbf9d82021-04-09 15:13:00 +0300140 }
141 ]
142 }
Alex Stancucc4e4892023-05-03 16:05:24 +0300143}