X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=solution%2Fnetwork%2Fntsim-ng-o-ru%2Fo-ru-11223%2Fconfig.json;fp=solution%2Fnetwork%2Fntsim-ng-o-ru%2Fo-ru-11223%2Fconfig.json;h=a4ba808f0352ba98b8ed13a22f44c580950a7e8c;hb=d7b2ed98b3668ce3b44f1355354d78e29c100592;hp=0000000000000000000000000000000000000000;hpb=303c4f99989240b4d8f292931543ea3ac4f716b9;p=oam.git diff --git a/solution/network/ntsim-ng-o-ru/o-ru-11223/config.json b/solution/network/ntsim-ng-o-ru/o-ru-11223/config.json new file mode 100644 index 0000000..a4ba808 --- /dev/null +++ b/solution/network/ntsim-ng-o-ru/o-ru-11223/config.json @@ -0,0 +1,135 @@ +{ + "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": true, + + "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" + ] + }, + + "fault-rules" : { + "yang-notif-template" : "%%fault-id%%%%object%%%%affected-object%%%%fault-severity%%%%cleared%%%%text%%%%date-time%%", + "choosing-method" : "linear", + "faults" : [ + { + "condition" : "Interface Fault", + "object" : "09a95e08-5b53-4734-815f-a9c12300fc62", + "severity" : "CRITICAL", + "date-time" : "$$time$$", + "specific-problem" : "Interface Fault", + + "fault-id": "30", + "fault-severity" : "CRITICAL", + "affected-object" : "$$hostname$$", + "cleared" : "false", + "text" : "Interface Fault" + }, + + { + "condition" : "Interface Fault", + "object" : "09a95e08-5b53-4734-815f-a9c12300fc62", + "severity" : "NORMAL", + "date-time" : "$$time$$", + "specific-problem" : "Interface Fault", + + "fault-id": "30", + "fault-severity" : "CRITICAL", + "affected-object" : "$$hostname$$", + "cleared" : "true", + "text" : "Interface Fault" + }, + + { + "condition" : "C/U-plane logical Connection faulty", + "object" : "09a95e08-5b53-4734-815f-a9c12300fc62", + "severity" : "CRITICAL", + "date-time" : "$$time$$", + "specific-problem" : "C/U-plane logical Connection faulty", + + "fault-id": "28", + "fault-severity" : "CRITICAL", + "affected-object" : "$$hostname$$", + "cleared" : "false", + "text" : "C/U-plane logical Connection faulty" + }, + + { + "condition" : "C/U-plane logical Connection faulty", + "object" : "09a95e08-5b53-4734-815f-a9c12300fc62", + "severity" : "NORMAL", + "date-time" : "$$time$$", + "specific-problem" : "C/U-plane logical Connection faulty", + + "fault-id": "28", + "fault-severity" : "CRITICAL", + "affected-object" : "$$hostname$$", + "cleared" : "true", + "text" : "C/U-plane logical Connection faulty" + } + ] + } +} \ No newline at end of file