X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=solution%2Fdev%2Fntsim-ng-o-du%2Fconfig.json;fp=solution%2Fdev%2Fntsim-ng-o-du%2Fconfig.json;h=299a6cf1199685e639834b05edcf09d420d8f06a;hb=53d47d4c8f037cb93aee17953879c834c648700f;hp=0000000000000000000000000000000000000000;hpb=86b92e82e31a1c948dbc7c78517978aaee31a0b8;p=oam.git diff --git a/solution/dev/ntsim-ng-o-du/config.json b/solution/dev/ntsim-ng-o-du/config.json new file mode 100644 index 0000000..299a6cf --- /dev/null +++ b/solution/dev/ntsim-ng-o-du/config.json @@ -0,0 +1,136 @@ +{ + "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": true, + + "pre-generated-operational-data": [ + "/opt/dev/deploy/data/o-ran-sc-du-hello-world-operational.xml" + ], + "pre-generated-running-data": [ + "/opt/dev/deploy/data/o-ran-sc-du-hello-world-running.xml" + ] + }, + + "fault-rules" : { + "yang-notif-template" : "$$uint16_counter$$%%object%%%%affected-object%%%%fault-severity%%%%cleared%%%%text%%%%date-time%%", + "choosing-method" : "linear", + "faults" : [ + { + "condition" : "O-RU Port Down", + "object" : "/o-ran-sc-du-hello-world:network-function/du-to-ru-connection[name='highstreet-O-RU-11221']", + "severity" : "CRITICAL", + "date-time" : "$$time$$", + "specific-problem" : "O-RU Port Down", + + "fault-severity" : "CRITICAL", + "affected-object" : "%%object%%", + "cleared" : "false", + "text" : "O-RU Port Down" + }, + + { + "condition" : "O-RU Port Down", + "object" : "/o-ran-sc-du-hello-world:network-function/du-to-ru-connection[name='highstreet-O-RU-11221']", + "severity" : "NORMAL", + "date-time" : "$$time$$", + "specific-problem" : "O-RU Port Down", + + "fault-severity" : "CRITICAL", + "affected-object" : "%%object%%", + "cleared" : "true", + "text" : "O-RU Port Down" + }, + + { + "condition" : "O-RU Port Down", + "object" : "/o-ran-sc-du-hello-world:network-function/du-to-ru-connection[name='highstreet-O-RU-11222']", + "severity" : "CRITICAL", + "date-time" : "$$time$$", + "specific-problem" : "O-RU Port Down", + + "fault-severity" : "CRITICAL", + "affected-object" : "%%object%%", + "cleared" : "false", + "text" : "O-RU Port Down" + }, + + { + "condition" : "O-RU Port Down", + "object" : "/o-ran-sc-du-hello-world:network-function/du-to-ru-connection[name='highstreet-O-RU-11222']", + "severity" : "NORMAL", + "date-time" : "$$time$$", + "specific-problem" : "O-RU Port Down", + + "fault-severity" : "CRITICAL", + "affected-object" : "%%object%%", + "cleared" : "true", + "text" : "O-RU Port Down" + }, + + { + "condition" : "O-RU Port Down", + "object" : "/o-ran-sc-du-hello-world:network-function/du-to-ru-connection[name='highstreet-O-RU-11223']", + "severity" : "CRITICAL", + "date-time" : "$$time$$", + "specific-problem" : "O-RU Port Down", + + "fault-severity" : "CRITICAL", + "affected-object" : "%%object%%", + "cleared" : "false", + "text" : "O-RU Port Down" + }, + + { + "condition" : "O-RU Port Down", + "object" : "/o-ran-sc-du-hello-world:network-function/du-to-ru-connection[name='highstreet-O-RU-11223']", + "severity" : "NORMAL", + "date-time" : "$$time$$", + "specific-problem" : "O-RU Port Down", + + "fault-severity" : "CRITICAL", + "affected-object" : "%%object%%", + "cleared" : "true", + "text" : "O-RU Port Down" + } + ] + } +} \ No newline at end of file