DataFile Collector (5G Usecase)

DataFile Collector (5G Usecase)



Overview

DataFile Collector provides ONAP Operators the ability to upload PM XML Files from PNFs, by sending a fileReady VES Event. These files are published to the DataRouter for further use within ONAP.

Bulk PM Flow:

  1. NF notifies DCAE that a PM file is available for upload.

  2. DataFile Collector uploads PM Files from NF and stores them in Data Router.

  3. PM Mapper creates custom Performance events (VES) from the PM File data according to PM Mapping File.

  4. Analytics Applications use these performance events for targeted analysis of network operations.





Blueprint/model/image





Deployment Prerequisite/dependencies

  1. Make sure that cfy is installed and configured to work with the Cloudify deployment.

  2. Make sure the Message Router and Data Router are running.

Deployment Steps

  1. Download the dfc blueprint.

  2. Transfer blueprint file in DCAE bootstrap POD under /blueprints directory.

  3. Execute bash on the DCAE bootstrap POD. 

    kubectl -n onap exec -it <dev-dcaegen2-dcae-bootstrap> bash



  4. Run Cloudify install command to install dfc.

    cfy install <dfc-blueprint-path> --blueprint-id <blueprint-name> --deployment-id <deployment-name>








Validation

curl <dcaegen2-dcae-healthcheck> and check if datafile-collector is in 'ready' state. 

$ curl 10.42.181.66 | jq

{
"type": "summary",
"count": 12,
"ready": 11,
"items": [
{
"name": "dev-dcaegen2-dcae-pm-mapper",
"ready": 1,
"unavailable": 0
},
{
"name": "dev-dcaegen2-dcae-config-binding-service",
"ready": 1,
"unavailable": 0
},
{
"name": "dev-dcaegen2-dcae-inventory-api",
"ready": 1,
"unavailable": 0
},
{
"name": "dev-dcaegen2-dcae-servicechange-handler",
"ready": 0,
"unavailable": 1
},
{
"name": "dev-dcaegen2-dcae-deployment-handler",
"ready": 1,
"unavailable": 0
},
{
"name": "dev-dcaegen2-dcae-policy-handler",
"ready": 1,
"unavailable": 0
},
{
"name": "dep-dcae-ves-collector",
"ready": 1,
"unavailable": 0
},
{
"name": "dep-dcae-tca-analytics",
"ready": 1,
"unavailable": 0
},
{
"name": "dep-dcae-prh",
"ready": 1,
"unavailable": 0
},
{
"name": "dep-dcae-hv-ves-collector",
"ready": 1,
"unavailable": 0
},
{
"name": "dep-dcae-datafile-collector",
"ready": 1,
"unavailable": 0
},
{
"name": "dep-dcae-snmptrap-collector",
"ready": 1,
"unavailable": 0
}
]
}