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