You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

Casablanca Release

The Validation Service for POMBA was introduced in the Casablanca Release, though the Validation Service is actually an existing component in the A&AI project.

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.

POST http://<dmaap-message-router-ip>:3904/events/POA-RULE-VALIDATION (header: Content-Type:application/json)
{
   "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

Rules

  • No labels