Adds support for vdu_name, ns_id and vnf_member_index
[osm/MON.git] / osm_mon / core / models / update_alarm_req.json
index a8a0f82..f71766f 100644 (file)
 {
   "schema_version": { "type": "string" },
   "schema_type": { "type": "string" },
-  "vim_type": { "type": "string" },
-  "vim_uuid": { "type": "string" },
   "alarm_update_request":
-  {
+{
     "correlation_id": { "type": "integer" },
+    "vim_uuid": { "type": "string" },
     "alarm_uuid": { "type": "string" },
-    "metric_uuid": { "type": "string" },
-    "vdu_id": { "type": "string"},
+    "metric_name": { "type": "string" },
+    "ns_id": { "type": "string"},
+    "vnf_member_index": { "type": "integer"},
+    "vdu_name": { "type": "string"},
     "description": { "type": "string" },
     "severity": { "type": "string" },
     "operation": { "type": "string" },
     "threshold_value": { "type": "string" },
-    "unit": { "type": "string" },
     "statistic": { "type": "string" }
   },
   "required": [ "schema_version",
-                "scema_type",
+                "schema_type",
                 "vim_type",
                 "vim_uuid",
                 "correlation_id",