Updates JSON models to be up to date with the params required by MON.
It constitutes a first step in the process of converting JSON models
to actual JSON Schema files.
Signed-off-by: Benjamin Diaz <bdiaz@whitestack.com>
Change-Id: I9c3c0b69ee59e98805fb3f92f69d01f4fb142913
"schema_type",
"alarm_uuid",
"ns_id",
- "vnf_member_index" ]
+ "vnf_member_index",
+ "vdu_name"]
}
{
"schema_version": { "type": "string" },
"schema_type": { "type": "string" },
- "vim_uuid": { "type": "string" },
"alarm_create_response":
{
"correlation_id": { "type": "integer" },
},
"required": [ "schema_version",
"schema_type",
- "vim_uuid",
"correlation_id",
"alarm_uuid",
"status" ]
"metric_create_response":
{
"correlation_id": { "type": "integer" },
+ "metric_uuid": { "type": "string" },
"status": { "type": "boolean" }
},
"required": [ "schema_type",
"schema_version",
"correlation_id",
- "vim_uuid",
"metric_uuid",
- "resource_uuid",
"status" ]
}
"correlation_id": { "type": "integer" },
"alarm_uuid": { "type": "string" },
"ns_id": { "type": "string"},
+ "vdu_name": { "type": "string"},
"vnf_member_index": { "type": "integer"}
},
"required": [ "schema_version",
"schema_type",
"alarm_uuid",
"ns_id",
+ "vdu_name",
"vnf_member_index",
"correlation_id"
]
{
"schema_version": { "type": "string" },
"schema_type": { "type": "string" },
- "vim_uuid": { "type": "string" },
"alarm_deletion_response":
{
"correlation_id": { "type": "integer" },
"alarm_uuid": { "type": "string" },
- "status": { "type": "string" }
+ "status": { "type": "boolean" }
},
"required": [ "schema_version",
"schema_type",
"correlation_id",
- "vim_uuid",
"alarm_uuid",
"status" ]
}
"required": [ "schema_version",
"schema_type",
"metric_name",
- "metric_uuid",
- "resource_uuid",
- "correlation_id",
- "vim_type",
- "vim_uuid" ]
+ "ns_id",
+ "vdu_name",
+ "vnf_member_index",
+ "correlation_id" ]
}
"metric_name": { "type": "string" },
"metric_uuid": { "type": "string" },
"resource_uuid": { "type": "string" },
- "tenant_uuid": { "type": "string" },
"correlation_id": { "type": "integer" },
- "vim_uuid": { "type": "string" },
"status": { "type": "boolean" },
"required": [ "schema_version",
"schema_type",
"metric_uuid",
"resource_uuid",
"status",
- "correlation_id",
- "vim_uuid" ]
+ "correlation_id"]
}
},
"required": [ "schema_version",
"schema_type",
- "vim_type",
- "vim_uuid",
- "correlation_id",
- "resource_uuid"
+ "ns_id",
+ "vdu_name",
+ "vnf_member_index",
+ "correlation_id"
]
}
{
"schema_version": { "type": "string" },
"schema_type": { "type": "string" },
- "vim_type": { "type": "string" },
- "vim_uuid": { "type": "string" },
"list_alarm_response": { "$ref": "definitions.json#/notify_details" }
}
},
"required": [ "schema_version",
"schema_type",
- "vim_type",
- "vim_uuid",
+ "ns_id",
+ "vdu_name",
+ "vnf_member_index",
"correlation_id"
]
}
{
"schema_version": { "type": "string" },
"schema_type": { "type": "string" },
- "tenant_uuid": { "type": "string" },
"correlation_id": { "type": "integer" },
- "vim_type": { "type": "string" },
- "vim_uuid": { "type": "string" },
+ "status": { "type": "boolean" },
"metrics_list":
[{
"type": "array",
"required": [ "schema_version",
"schema_type",
"correlation_id",
- "vim_type",
- "vim_uuid",
"metric_name",
"metric_uuid",
"metric_unit",
"schema_type",
"alarm_uuid",
"resource_uuid",
- "vim_type",
- "vim_uuid",
"severity",
"status",
"start_date" ]
"metric_name",
"metric_uuid",
"correlation_id",
- "vim_type",
- "vim_uuid",
"collection_period",
"collection_unit",
- "resource_uuid"]
+ "ns_id",
+ "vdu_name",
+ "vnf_member_index"]
}
"metric_uuid": { "type": "string" },
"correlation_id": { "type": "integer" },
"resource_uuid": { "type": "string" },
- "tenant_uuid": { "type": "string" },
- "vim_uuid": { "type": "string" },
+ "status": { "type": "boolean" },
"metrics_data":
{
"time_series": [{
"properties":
{ "time_stamp":
{ "type": "integer" }}}
- ]
- },
+ ],
"metrics_series": [{
"type": "array",
"properties":
}
}
],
+ },
"unit": { "type": "string" },
"required": [ "schema_version",
"schema_type",
"metric_name",
"metric_uuid",
"resource_uuid",
- "vim_uuid",
"correlation_id",
"time_series",
- "metrics_series" ]
+ "metrics_series",
+ "status" ]
}
"alarm_update_request":
{
"correlation_id": { "type": "integer" },
- "vim_uuid": { "type": "string" },
"alarm_uuid": { "type": "string" },
"metric_name": { "type": "string" },
"ns_id": { "type": "string"},
},
"required": [ "schema_version",
"schema_type",
- "vim_type",
- "vim_uuid",
"correlation_id",
- "alarm_uuid",
- "metric_uuid" ]
+ "alarm_uuid",
+ "metric_uuid",
+ "ns_id",
+ "vdu_name",
+ "vnf_member_index"]
}
{
"schema_version": { "type": "string" },
"schema_type": { "type": "string" },
- "vim_uuid": { "type": "string" },
"alarm_update_response":
{
"correlation_id": { "type": "integer" },
"alarm_uuid": { "type": "string" },
- "status": { "type": "string" }
+ "status": { "type": "boolean" }
},
"required": [ "schema_version",
"schema_type",
- "vim_uuid",
"correlation_id",
"alarm_uuid",
"status" ]
{
"schema_version": { "type": "string" },
"schema_type": { "type": "string" },
- "vim_type": { "type": "string" },
- "vim_uuid": { "type": "string" },
"metric_update_request":
{
"correlation_id": { "type": "integer" },
"required": [ "schema_version",
"schema_type",
"correlation_id",
- "vim_type",
- "vim_type",
- "resource_uuid"
+ "metric_name",
+ "metric_unit",
+ "ns_id",
+ "vdu_name",
+ "vnf_member_index"
]
}
"schema_version": { "type": "string" },
"schema_type": { "type": "string" },
"correlation_id": { "type": "integer" },
- "vim_uuid": { "type": "string" },
"metric_update_response":
{
"metric_uuid": { "type": "string" },
"required": [ "schema_version",
"schema_type",
"correlation_id",
- "vim_uuid",
"metric_uuid",
"resource_uuid",
"status"]