Overview
The Validation Service is re-used in POMBA in order to process service instance data from various contexts and compare the data to each other. In this way, it could be confirmed that the real-life deployment does or does not reflect what is known by the A&AI, for example.
Messaging
Messaging to and from other POMBA components is done through DMaaP topics.
POA-RULE-VALIDATION event
This event type is picked up by the Validation Service.
Code Block | ||||
---|---|---|---|---|
| ||||
{ "event-header": { "entity-type": "poa-entity", "top-entity-type": "poa-entity", "event-type": "POA-EVENT", "domain": "onap", "id": "5fb3ec28-835b-4053-9fb2-31f6b3e5ef71", "topic-name": "POA-RULE-VALIDATION", "source-name": "RO", "event-id": "ea981d89-ea97-4757-9e28-10ab86f08065" }, "entity": { "poa-event": { "modelVersionId": "7b4beec3-04a6-4513-8341-959589d2bd01", "modelInvariantId": "58f20afd-6ed1-4451-a19d-4fbee4aefa08", "serviceInstanceId": "68352304-7bba-4609-8551-0d0b819376c3", "xTransactionId": "1111111", "xFromAppId": "Data-Router" }, "context-list": { "sdc": { "dataQuality": { "status": "ok" }, "vfList": [ { "dataQuality": { "status": "ok" }, "attributeList": [], "name": "vcpevsp_vgmux_0830 0", "vfModuleList": [ { "minInstances": 1, "dataQuality": { "status": "ok" }, "attributeList": [], "invariantUUID": "ced468ed-46ec-4e18-9bb7-1a861c98087c", "vmList": [], "maxInstances": 1, "networkList": [], "uuid": "d2f0ea48-d996-4d9e-893e-f649cbb969aa" } ], "invariantUUID": "17e561e9-d0c2-4959-a709-9335b2233966", "type": "org.openecomp.resource.vf.VcpevspVgmux0830", "uuid": "eaabc15d-c084-4e40-9d46-4d963a4c079b", "vnfcList": [ { "dataQuality": { "status": "ok" }, "attributeList": [], "name": "abstract_vgmux", "invariantUUID": "e709ddef-8aa2-4019-beb2-48b06c27285e", "type": "vgmux", "uuid": "0f5a18b5-7470-41df-b221-8bc933d2d0fc" } ] } ], "service": { "dataQuality": { "status": "ok" }, "attributeList": [], "name": "vcpesvc_vgmux", "invariantUUID": "58f20afd-6ed1-4451-a19d-4fbee4aefa08", "uuid": "7b4beec3-04a6-4513-8341-959589d2bd01" }, "attributeList": [] }, "aai": { "dataQuality": { "status": "ok" }, "vfList": [ { "dataQuality": { "status": "ok" }, "attributeList": [], "name": "vcpe_vnf_vcpevsp_vgmux_0830_201809061919", "vfModuleList": [ { "minInstances": 0, "dataQuality": { "status": "ok" }, "attributeList": [], "invariantUUID": "ced468ed-46ec-4e18-9bb7-1a861c98087c", "vmList": [], "maxInstances": 1, "networkList": [], "uuid": "d2f0ea48-d996-4d9e-893e-f649cbb969aa" } ], "invariantUUID": "17e561e9-d0c2-4959-a709-9335b2233966", "type": "vcpesvc_vgmux/vcpevsp_vgmux_0830 0", "uuid": "eaabc15d-c084-4e40-9d46-4d963a4c079b", "vnfcList": [] } ], "service": { "dataQuality": { "status": "ok" }, "attributeList": [], "name": "vcpe_svc_vcpesvc_vgmux_201809061919", "invariantUUID": "58f20afd-6ed1-4451-a19d-4fbee4aefa08", "uuid": "7b4beec3-04a6-4513-8341-959589d2bd01" }, "attributeList": [] }, "networkdiscovery": { "dataQuality": { "status": "ok" }, "vfList": [ { "dataQuality": { "status": "ok" }, "attributeList": [], "vfModuleList": [ { "minInstances": 0, "dataQuality": { "status": "ok" }, "attributeList": [], "vmList": [ { "dataQuality": { "status": "ok" }, "attributeList": [ { "dataQuality": { "status": "ok" }, "name": "hostName", "value": "kll0123" } ], "nfNamingCode": "vserver", "uuid": "0714ea3e-2126-4c31-b405-6796ffc955fb" } ], "maxInstances": 0, "networkList": [] } ], "vnfcList": [] } ], "service": { "dataQuality": { "status": "ok" }, "attributeList": [], "uuid": "68352304-7bba-4609-8551-0d0b819376c3" }, "attributeList": [] } } } } |
POA-AUDIT-RESULT event
This event type is published to DMaaP by the Validation Service.
Code Block | ||||
---|---|---|---|---|
| ||||
{
"entity": {
"poa-event": {
"modelInvariantId": "58f20afd-6ed1-4451-a19d-4fbee4aefa08",
"serviceInstanceId": "68352304-7bba-4609-8551-0d0b819376c3",
"xTransactionId": "1111111",
"xFromAppId": "Data-Router",
"modelVersionId": "7b4beec3-04a6-4513-8341-959589d2bd01"
},
"context-list": {
"sdc": {
"dataQuality": {
"status": "ok"
},
"vfList": [
{
"dataQuality": {
"status": "ok"
},
"attributeList": [],
"name": "vcpevsp_vgmux_0830 0",
"vfModuleList": [
{
"minInstances": 1,
"dataQuality": {
"status": "ok"
},
"attributeList": [],
"invariantUUID": "ced468ed-46ec-4e18-9bb7-1a861c98087c",
"vmList": [],
"maxInstances": 1,
"networkList": [],
"uuid": "d2f0ea48-d996-4d9e-893e-f649cbb969aa"
}
],
"invariantUUID": "17e561e9-d0c2-4959-a709-9335b2233966",
"type": "org.openecomp.resource.vf.VcpevspVgmux0830",
"uuid": "eaabc15d-c084-4e40-9d46-4d963a4c079b",
"vnfcList": [
{
"dataQuality": {
"status": "ok"
},
"attributeList": [],
"name": "abstract_vgmux",
"invariantUUID": "e709ddef-8aa2-4019-beb2-48b06c27285e",
"type": "vgmux",
"uuid": "0f5a18b5-7470-41df-b221-8bc933d2d0fc"
}
]
}
],
"service": {
"dataQuality": {
"status": "ok"
},
"attributeList": [],
"name": "vcpesvc_vgmux",
"invariantUUID": "58f20afd-6ed1-4451-a19d-4fbee4aefa08",
"uuid": "7b4beec3-04a6-4513-8341-959589d2bd01"
},
"attributeList": []
},
"aai": {
"dataQuality": {
"status": "ok"
},
"vfList": [
{
"dataQuality": {
"status": "ok"
},
"attributeList": [],
"name": "vcpe_vnf_vcpevsp_vgmux_0830_201809061919",
"vfModuleList": [
{
"minInstances": 0,
"dataQuality": {
"status": "ok"
},
"attributeList": [],
"invariantUUID": "ced468ed-46ec-4e18-9bb7-1a861c98087c",
"vmList": [],
"maxInstances": 1,
"networkList": [],
"uuid": "d2f0ea48-d996-4d9e-893e-f649cbb969aa"
}
],
"invariantUUID": "17e561e9-d0c2-4959-a709-9335b2233966",
"type": "vcpesvc_vgmux/vcpevsp_vgmux_0830 0",
"vnfcList": [],
"uuid": "eaabc15d-c084-4e40-9d46-4d963a4c079b"
}
],
"service": {
"dataQuality": {
"status": "ok"
},
"attributeList": [],
"name": "vcpe_svc_vcpesvc_vgmux_201809061919",
"invariantUUID": "58f20afd-6ed1-4451-a19d-4fbee4aefa08",
"uuid": "7b4beec3-04a6-4513-8341-959589d2bd01"
},
"attributeList": []
},
"networkdiscovery": {
"dataQuality": {
"status": "ok"
},
"vfList": [
{
"dataQuality": {
"status": "ok"
},
"attributeList": [],
"vfModuleList": [
{
"minInstances": 0,
"dataQuality": {
"status": "ok"
},
"attributeList": [],
"vmList": [
{
"dataQuality": {
"status": "ok"
},
"attributeList": [
{
"dataQuality": {
"status": "ok"
},
"name": "hostName",
"value": "kll0123"
}
],
"uuid": "0714ea3e-2126-4c31-b405-6796ffc955fb",
"nfNamingCode": "vserver"
}
],
"maxInstances": 0,
"networkList": []
}
],
"vnfcList": []
}
],
"service": {
"dataQuality": {
"status": "ok"
},
"attributeList": [],
"uuid": "68352304-7bba-4609-8551-0d0b819376c3"
},
"attributeList": []
}
}
},
"validationId": "3bbdc898-27b9-4fb2-accb-55f1936d5ff7",
"validationTimestamp": "20181205T214457Z",
"entityId": {},
"entityType": "poa-entity",
"entityLink": "",
"resourceVersion": null,
"violations": [
{
"violationId": "1e0b4a98e9d9a5f7d9a9d7165aa5b57948c5029efac42be2eca306340597fd94",
"modelName": null,
"category": "VNFC Consistency",
"severity": "WARNING",
"validationRule": "SDC-AAI-vnfc-node-count",
"violationDetails": {
"context-list.aai.vfList[*].vnfcList[*]": [],
"context-list.sdc.vfList[*].vnfcList[*]": [
{
"dataQuality": {
"status": "ok"
},
"name": "abstract_vgmux",
"invariantUUID": "e709ddef-8aa2-4019-beb2-48b06c27285e",
"type": "vgmux",
"uuid": "0f5a18b5-7470-41df-b221-8bc933d2d0fc",
"attributeList": []
}
]
},
"errorMessage": "Design has specified types but not all of them exist in AAI",
"violationType": "Rule"
}
]
} |