ae39a7894468a4b2536aba427e905623cdc748f7
[osm/MON.git] / osm_mon / core / models / notify_alarm.json
1 /* Copyright© 2017 Intel Research and Development Ireland Limited
2   # This file is part of OSM Monitoring module
3   # All Rights Reserved to Intel Corporation
4
5   # Licensed under the Apache License, Version 2.0 (the "License"); you may
6   # not use this file except in compliance with the License. You may obtain
7   # a copy of the License at
8
9   #         http://www.apache.org/licenses/LICENSE-2.0
10
11   # Unless required by applicable law or agreed to in writing, software
12   # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
13   # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
14   # License for the specific language governing permissions and limitations
15   # under the License.
16
17   # For those usages not covered by the Apache License, Version 2.0 please
18   # contact: prithiv.mohan@intel.com or adrian.hoban@intel.com
19   
20   # This is the message bus schema to notify_alarm */
21
22 {
23   "schema_version": { "type": "string" },
24   "schema_type": { "type": "string" },
25   "notify_details":
26   {
27     "alarm_uuid": { "type": "string" },
28     "description": { "type": "string" },
29     "severity": { "type" : "string" },
30     "status": { "type": "string" },
31     "operation": { "type": "string" },
32     "threshold_value": { "type": "string" },
33     "metric_name": { "type": "string" },
34     "ns_id": { "type": "string"},
35     "vnf_member_index": { "type": "integer"},
36     "vdu_name": { "type": "string"},
37     "start_date": { "type": "string" },
38     "update_date": { "type": "string" },
39     "cancel_date": { "type": "string" }
40   },
41   "required": [ "schema_version",
42                 "schema_type",
43                 "alarm_uuid",
44                 "resource_uuid",
45                 "vim_type",
46                 "vim_uuid",
47                 "severity",
48                 "status",
49                 "start_date" ]
50 }