Fixes discrepancies and missing params in JSON models
[osm/MON.git] / osm_mon / core / models / update_alarm_req.json
index a8a0f82..9760bae 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" },
     "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",
-                "vim_type",
-                "vim_uuid",
+                "schema_type",
                 "correlation_id",
-               "alarm_uuid",
-               "metric_uuid" ]
+                   "alarm_uuid",
+                   "metric_uuid",
+                "ns_id",
+                "vdu_name",
+                "vnf_member_index"]
 }