SMO NONRTRIC - Fix service manager preload
[it/dep.git] / smo-install / tests_oom / topology-server / resources / config / 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         "ntsim-network-function": {
17             "path": "/opt/dev/ntsim-ng/ntsim-ng",
18             "args": ["-w/opt/dev/ntsim-ng", "-f"],
19             "nomanual": true
20         }
21     },
22
23     "datastore-random-generation-rules" : {
24         "excluded-modules": [
25             "sysrepo",
26             "sysrepo-monitoring",
27             "ietf-yang-library",
28             "ietf-netconf-acm",
29             "ietf-netconf-monitoring",
30             "nc-notifications",
31             "ietf-keystore",
32             "ietf-truststore",
33             "ietf-system",
34             "ietf-netconf-server",
35             "nts-network-function"
36         ],
37
38         "default-list-instances": 2,
39         "custom-list-instances" : []
40     },
41
42     "datastore-populate-rules": {
43         "random-generation-enabled": false,
44
45         "pre-generated-operational-data": [
46             "/opt/dev/deploy/data/tapi-common-operational.xml"
47         ],
48         "pre-generated-running-data": [
49             "/opt/dev/deploy/data/tapi-common-running.xml"
50         ]
51     },
52
53     "fault-rules" : {
54         "yang-notif-template" : "<alarm-notif xmlns=\"urn:o-ran:fm:1.0\"><fault-id>$$uint16_counter$$</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>",
55         "choosing-method" : "linear",
56         "faults" : [
57 {{ $faultsSize := (len .Values.simulatedFaults) }}
58 {{ range $i, $fault := .Values.simulatedFaults  }}
59             {
60                 "condition" : "{{ $fault.condition  }}",
61                 "object"    : "{{ $fault.object  }}",
62                 "severity"  : "{{ $fault.severity  }}",
63                 "date-time" : "$$time$$",
64                 "specific-problem" : "{{ $fault.specificProblem  }}",
65                 "fault-severity" : "{{ $fault.faultSeverity  }}",
66                 "affected-object" : "%%object%%",
67                 "cleared" : "{{ $fault.cleared  }}",
68                 "text" : "{{ $fault.text  }}"
69             }{{ if lt (add1 $i) $faultsSize }},{{ end }}
70 {{ end }}
71         ]
72     }
73 }