X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=smo-install%2Foran_oom%2Fru-simulator%2Fresources%2Fconfig%2Fconfig.json;fp=smo-install%2Foran_oom%2Fru-simulator%2Fresources%2Fconfig%2Fconfig.json;h=0000000000000000000000000000000000000000;hb=dd88f8e183d4463db48e1db2abb5d101e3dfb02a;hp=95638dc4b1c4e15ae0206c1ae162c7e8a23dfe4c;hpb=aed39eed3108410e207827c54b103581e45ae3ed;p=it%2Fdep.git diff --git a/smo-install/oran_oom/ru-simulator/resources/config/config.json b/smo-install/oran_oom/ru-simulator/resources/config/config.json deleted file mode 100644 index 95638dc4..00000000 --- a/smo-install/oran_oom/ru-simulator/resources/config/config.json +++ /dev/null @@ -1,97 +0,0 @@ -{ - "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", - "ietf-alarms", - "ietf-network-instance", - "ietf-restconf", - "ietf-yang-schema-mount", - "ietf-subscribed-notifications", - "o-ran-uplane-conf", - "o-ran-performance-management", - "o-ran-transceiver", - "o-ran-mplane-int", - "o-ran-processing-element", - "o-ran-shared-cell", - "nts-network-function" - ], - - "default-list-instances": 2, - "custom-list-instances" : [ - {"/ietf-interfaces:interfaces/interface": 4} - - ], - - "restrict-schema": [ - {"/ietf-interfaces:interfaces/interface/type": ["iana-if-type:ethernetCsmacd"]} - ] - - }, - - "datastore-populate-rules": { - "random-generation-enabled": false, - - "pre-generated-operational-data": [ - "../deploy/data/ietf-hardware-operational.json", - "../deploy/data/ietf-interfaces-operational.xml" - ], - "pre-generated-running-data": [ - "../deploy/data/ietf-hardware-running.json", - "../deploy/data/ietf-interfaces-running.xml", - "/opt/dev/deploy/data/nts-network-function-running.xml" - ] - }, - - "fault-rules" : { - "yang-notif-template" : "%%fault-id%%%%object%%%%affected-object%%%%fault-severity%%%%cleared%%%%text%%%%date-time%%", - "choosing-method" : "linear", - "faults" : [ -{{ $faultsSize := (len .ru.simulatedFaults) }} -{{ range $i, $fault := .ru.simulatedFaults }} - { - "condition" : "{{ $fault.condition }}", - "object" : "{{ $fault.object }}", - "severity" : "{{ $fault.severity }}", - "date-time" : "$$time$$", - "specific-problem" : "{{ $fault.specificProblem }}", - - "fault-id": "{{ $fault.faultId }}", - "fault-severity" : "{{ $fault.faultSeverity }}", - "affected-object" : "$$hostname$$", - "cleared" : "{{ $fault.cleared }}", - "text" : "{{ $fault.text }}" - }{{ if lt (add1 $i) $faultsSize }},{{ end }} -{{ end }} - ] - } -}