Add blank type of NTS.
[sim/o1-interface.git] / ntsimulator / deploy / o-ran-ru-fh / config.json
1 {
2     "container-rules": {
3         "excluded-modules": [],
4         "excluded-features": []
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         },
15     
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         },
23     
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         ],
56         
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": [
73             "../deploy/data/ietf-hardware-operational.json",
74             "../deploy/data/ietf-interfaces-operational.xml"
75         ],
76         "pre-generated-running-data": [
77             "../deploy/data/ietf-hardware-running.json",
78             "../deploy/data/ietf-interfaces-running.xml"
79         ]
80     },
81
82     "fault-rules" : {
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>",
84         "choosing-method" : "linear",
85         "faults" : [
86             {
87                 "condition" : "Interface Fault",
88                 "object"    : "interface-1",
89                 "severity"  : "MAJOR",
90                 "date-time" : "$$time$$",
91                 "specific-problem" : "Interface Fault",
92                 
93                 "fault-id": "30",
94                 "fault-severity" : "MAJOR",
95                 "affected-object" : "$$hostname$$",
96                 "cleared" : "false",
97                 "text" : "Interface Fault"
98             },
99
100             {
101                 "condition" : "Interface Fault",
102                 "object"    : "interface-1",
103                 "severity"  : "NORMAL",
104                 "date-time" : "$$time$$",
105                 "specific-problem" : "Interface Fault",
106
107                 "fault-id": "30",
108                 "fault-severity" : "MAJOR",
109                 "affected-object" : "$$hostname$$",
110                 "cleared" : "true",
111                 "text" : "Interface Fault"
112             },
113
114             {
115                 "condition" : "C/U-plane logical Connection faulty",
116                 "object"    : "interface-1",
117                 "severity"  : "MAJOR",
118                 "date-time" : "$$time$$",
119                 "specific-problem" : "C/U-plane logical Connection faulty",
120
121                 "fault-id": "28",
122                 "fault-severity" : "MAJOR",
123                 "affected-object" : "$$hostname$$",
124                 "cleared" : "false",
125                 "text" : "C/U-plane logical Connection faulty"
126             },
127
128             {
129                 "condition" : "C/U-plane logical Connection faulty",
130                 "object"    : "interface-1",
131                 "severity"  : "NORMAL",
132                 "date-time" : "$$time$$",
133                 "specific-problem" : "C/U-plane logical Connection faulty",
134
135                 "fault-id": "28",
136                 "fault-severity" : "MAJOR",
137                 "affected-object" : "$$hostname$$",
138                 "cleared" : "true",
139                 "text" : "C/U-plane logical Connection faulty"
140             }
141         ]
142     }
143 }