Fixes discrepancies and missing params in JSON models
[osm/MON.git] / osm_mon / core / models / read_metric_data_req.json
index b4e3d62..6214569 100644 (file)
   "schema_version": { "type": "string" },
   "schema_type": { "type": "string" },
   "metric_name": { "type": "string" },
-  "metric_uuid": { "type": "string" },
-  "resource_uuid": { "type": "string" },
-  "tenant_uuid": { "type": "string" },
+  "ns_id": { "type": "string"},
+  "vnf_member_index": { "type": "integer"},
+  "vdu_name": { "type": "string"},
   "correlation_id": { "type": "integer" },
-  "vim_type": { "type": "string" },
   "collection_period": { "type": "integer" },
   "collection_unit": { "type": "string" },
   "required": ["schema_version",
@@ -35,8 +34,9 @@
                "metric_name",
                "metric_uuid",
                "correlation_id",
-               "vim_type",
                "collection_period",
                "collection_unit",
-               "resource_uuid"]
+               "ns_id",
+               "vdu_name",
+               "vnf_member_index"]
 }