X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=smo-install%2Ftests_oom%2Ftopology-server%2Fresources%2Fconfig%2Fconfig.json;fp=smo-install%2Ftests_oom%2Ftopology-server%2Fresources%2Fconfig%2Fconfig.json;h=9d53af19e97d13befd2ed699d5cc4576da09bc41;hb=dd88f8e183d4463db48e1db2abb5d101e3dfb02a;hp=0000000000000000000000000000000000000000;hpb=aed39eed3108410e207827c54b103581e45ae3ed;p=it%2Fdep.git diff --git a/smo-install/tests_oom/topology-server/resources/config/config.json b/smo-install/tests_oom/topology-server/resources/config/config.json new file mode 100644 index 00000000..9d53af19 --- /dev/null +++ b/smo-install/tests_oom/topology-server/resources/config/config.json @@ -0,0 +1,73 @@ +{ + "container-rules": { + "excluded-modules": [], + "excluded-features": [] + }, + + "supervisor-rules": { + "netopeer": { + "path": "/usr/local/bin/netopeer2-server", + "args": ["-d", "-v2"], + "autorestart": true, + "stdout": "log/netopeer-stdout.log", + "stderr": "log/netopeer-stderr.log" + }, + + "ntsim-network-function": { + "path": "/opt/dev/ntsim-ng/ntsim-ng", + "args": ["-w/opt/dev/ntsim-ng", "-f"], + "nomanual": true + } + }, + + "datastore-random-generation-rules" : { + "excluded-modules": [ + "sysrepo", + "sysrepo-monitoring", + "ietf-yang-library", + "ietf-netconf-acm", + "ietf-netconf-monitoring", + "nc-notifications", + "ietf-keystore", + "ietf-truststore", + "ietf-system", + "ietf-netconf-server", + "nts-network-function" + ], + + "default-list-instances": 2, + "custom-list-instances" : [] + }, + + "datastore-populate-rules": { + "random-generation-enabled": false, + + "pre-generated-operational-data": [ + "/opt/dev/deploy/data/tapi-common-operational.xml" + ], + "pre-generated-running-data": [ + "/opt/dev/deploy/data/tapi-common-running.xml" + ] + }, + + "fault-rules" : { + "yang-notif-template" : "$$uint16_counter$$%%object%%%%affected-object%%%%fault-severity%%%%cleared%%%%text%%%%date-time%%", + "choosing-method" : "linear", + "faults" : [ +{{ $faultsSize := (len .Values.simulatedFaults) }} +{{ range $i, $fault := .Values.simulatedFaults }} + { + "condition" : "{{ $fault.condition }}", + "object" : "{{ $fault.object }}", + "severity" : "{{ $fault.severity }}", + "date-time" : "$$time$$", + "specific-problem" : "{{ $fault.specificProblem }}", + "fault-severity" : "{{ $fault.faultSeverity }}", + "affected-object" : "%%object%%", + "cleared" : "{{ $fault.cleared }}", + "text" : "{{ $fault.text }}" + }{{ if lt (add1 $i) $faultsSize }},{{ end }} +{{ end }} + ] + } +}