General updates for flows
[oam.git] / solution / network / ntsim-ng-o-ru / ntsim-ng-o-ru-fh-1 / 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             "ietf-alarms",
36             "ietf-network-instance",
37             "ietf-restconf",
38             "ietf-yang-schema-mount",
39             "ietf-subscribed-notifications",
40             "o-ran-uplane-conf",
41             "o-ran-performance-management",
42             "o-ran-transceiver",
43             "o-ran-mplane-int",
44             "o-ran-processing-element",
45             "o-ran-shared-cell",
46             "nts-network-function"
47         ],
48         
49         "default-list-instances": 2,
50         "custom-list-instances" : [
51             {"/ietf-interfaces:interfaces/interface": 4}
52
53         ],
54
55         "restrict-schema": [
56             {"/ietf-interfaces:interfaces/interface/type": ["iana-if-type:ethernetCsmacd"]}
57         ]
58
59     },
60
61     "datastore-populate-rules": {
62         "random-generation-enabled": true,
63
64         "pre-generated-operational-data": [
65             "../deploy/data/ietf-hardware-operational.json",
66             "../deploy/data/ietf-interfaces-operational.xml"
67         ],
68         "pre-generated-running-data": [
69             "../deploy/data/ietf-hardware-running.json",
70             "../deploy/data/ietf-interfaces-running.xml",
71             "/opt/dev/deploy/data/nts-network-function-running.xml"
72         ]
73     },
74
75     "fault-rules" : {
76         "yang-notif-template" : "<alarm-notif xmlns=\"urn:o-ran:fm:1.0\"><fault-id>%%fault-id%%</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>",
77         "choosing-method" : "linear",
78         "faults" : [
79             {
80                 "condition" : "Interface Fault",
81                 "object"    : "09a95e08-5b53-4734-815f-a9c12300fc62",
82                 "severity"  : "CRITICAL",
83                 "date-time" : "$$time$$",
84                 "specific-problem" : "Interface Fault",
85                 
86                 "fault-id": "30",
87                 "fault-severity" : "CRITICAL",
88                 "affected-object" : "$$hostname$$",
89                 "cleared" : "false",
90                 "text" : "Interface Fault"
91             },
92
93             {
94                 "condition" : "Interface Fault",
95                 "object"    : "09a95e08-5b53-4734-815f-a9c12300fc62",
96                 "severity"  : "NORMAL",
97                 "date-time" : "$$time$$",
98                 "specific-problem" : "Interface Fault",
99
100                 "fault-id": "30",
101                 "fault-severity" : "CRITICAL",
102                 "affected-object" : "$$hostname$$",
103                 "cleared" : "true",
104                 "text" : "Interface Fault"
105             },
106
107             {
108                 "condition" : "C/U-plane logical Connection faulty",
109                 "object"    : "09a95e08-5b53-4734-815f-a9c12300fc62",
110                 "severity"  : "CRITICAL",
111                 "date-time" : "$$time$$",
112                 "specific-problem" : "C/U-plane logical Connection faulty",
113
114                 "fault-id": "28",
115                 "fault-severity" : "CRITICAL",
116                 "affected-object" : "$$hostname$$",
117                 "cleared" : "false",
118                 "text" : "C/U-plane logical Connection faulty"
119             },
120
121             {
122                 "condition" : "C/U-plane logical Connection faulty",
123                 "object"    : "09a95e08-5b53-4734-815f-a9c12300fc62",
124                 "severity"  : "NORMAL",
125                 "date-time" : "$$time$$",
126                 "specific-problem" : "C/U-plane logical Connection faulty",
127
128                 "fault-id": "28",
129                 "fault-severity" : "CRITICAL",
130                 "affected-object" : "$$hostname$$",
131                 "cleared" : "true",
132                 "text" : "C/U-plane logical Connection faulty"
133             }
134         ]
135     }
136 }