Readds plugins code and respective tests
[osm/MON.git] / osm_mon / core / models / update_metric_req.json
index 71d4f82..7c0eba3 100644 (file)
 {
   "schema_version": { "type": "string" },
   "schema_type": { "type": "string" },
-  "tenant_uuid": { "type": "string" },
-  "correlation_id": { "type": "integer" },
-  "vim_type": { "type": "string" },
-  "metric_create":
+  "metric_update_request":
   {
-    "metric_name": { "type": "string" },
-    "metric_unit": { "type": "string" },
-    "resource_uuid": { "type": "string" }
+  "correlation_id": { "type": "integer" },
+  "metric_name": { "type": "string" },
+  "metric_unit": { "type": "string" },
+  "ns_id": { "type": "string"},
+  "vnf_member_index": { "type": "integer"},
+  "vdu_name": { "type": "string"}
   },
   "required": [ "schema_version",
                 "schema_type",
                 "correlation_id",
-                "vim_type",
-                "resource_uuid"
+                "metric_name",
+                "metric_unit",
+                "ns_id",
+                "vdu_name",
+                "vnf_member_index"
                 ]
-}
\ No newline at end of file
+}