Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The bulk PM feature consists of two main parts:

  • Event-driven bulk transfer of monitoring data from an xNF to ONAP/DCAE. A micro-service will listen for 'FileReady' VES events sent from an xNF via the VES collector. Once files become available the collector micro-service will fetch them using protocol such as FTPES (committed) or SFTP. The collected data files are published internally on a DMaaP Data Router (DR) feed. (committed goal)
  • For 3GPP formatted measurement data and for consumers that prefer such data in VES format, an optional 3GPP PM Mapper micro-service is planned that can extract selected measurements from a 3GPP XML file and publish them as VES events on a DMaaP Message Router topic. The mapper receives the files by subscribing to a Data Router feed (stretch goal)






Deployment:


Test environment requirements for above test cases:

  • xNF (or emulator) simulator for test cases:  ftpes capable server.
  • with VES 6.x support for 'fileReady' event.
    • E.g. xNF able to produce data files and send VES fileReady events,
    • E.g. xNF emulator able to produce 'fileReady' notification events including updated events, or a series or predefined VES events at periodic intervals.
  • xNF simulator for test cases:  ftpes capable server.
  • sample data files for collection. E.g. 3gpp PM filesTest environment reqs:
  • DMaaP R3, at minimum need DR running and configured for Bulk PM support
  • DCAE R3, MR with support for VES 6.x spec
  • DCAE R3, Data File Collector installed and configured


Use Case preconditions:

    • xNF instantiated at ONAP, e.g. in A&AI



End to End flow to be Tested: 

DCAE Data File Collector

:

Sequence Diagram

Gliffy Diagram
size600
name5G BulkPM VES - DFC
pagePin1


 DCAE Data File Collector Test

Cases

cases and Status

:  DCAE Data File Collector

#Test CaseStatus
1

xNF:  Ensure fileReady event is received from xNF at DCAE VES collector.

Expected outcome: fileReady event received, and meets VES 6.x specification

Status
titleNot yet tested

2

DCAE VES Collector:  Ensure fileReady event is processed and forwarded to DCAE Message Router.

Expected outcome: fileReady event on correct MR topic

Status
titleNot yet tested

3

DCAE Data File Collector:  Ensure fileReady event is received from DCAE Message Router.

Expected outcome: fileReady event received by Data File Collector

Status
titleNot yet tested

DCAE Data File Collector:  Ensure event is processed and any invalid file entries (i.e. missing or corrupt data) are logged.

Expected outcome: any fileReady event which does not meet VES 6.x specification is logged as invalid event

Status
titleNot yet tested

DCAE Data File Collector:  After succesful event parsing, confirm secure connection to file location is initiated for file retrieval.

Expected outcome: connection to xNF file location contained in the event.

Status
titleNot yet tested

6

DCAE Data File Collector: Confirm that any unsuccessful connection attempts are logged.

Expected outcome: any errors such as authentication failed, destination unreachable, etc. are logged.

Status
titleNot yet tested

7

DCAE Data File Collector:  Ensure that for each new entry in the fileReady event the file is retrieved.

Expected outcome: every file indicated in the fileReady event is retreived from the xNF

Status
titleNot yet tested

8

DCAE Data File Collector: Ensure any files which are not available are logged.

Expected outcome: any errors such as non-existant file (e.g. file removed before retrieval) are logged

Status
titleNot yet tested

9

DCAE Data File Collector: Confirm that in the event a file fails to transfer successfully, retry is initiated.

Expected outcome: Retry is initiated for unsuccessful transfer.

Status
titleNot yet tested

10

DCAE Data File Collector: Confirm that in the event the maximum number of retries is exceeded, an error is logged.

Expected outcome: Error log indicating that the file was not able to retrieved.

Status
titleNot yet tested

11

DCAE Data File Collector: Ensure the connection to xNF is closed.

Expected outcome: Connection to xNF is closed.

Status
titleNot yet tested

12

DCAE Data File Collector:  Ensure the data file(s) retrieved for that processed fileReady event are published.

Expected outcome: Data retrieved is avaialble on correct feed on DMaaP Data Router

Status
titleNot yet tested



End-to-End feature integration Testcases for:


#Test CaseStatus
1Ensure that the 'FileReady' VES event is sent from the simulated xNF via the VES collector and is received by Data File Collector.

Status
titleNot yet tested

2Ensure that the Data File Collector starts to download the xml PM file(s) from the simulated xNF once it receives the 'FileReady' VES event via the VES collector.

Status
titleNot yet tested

3Ensure that the PM xml file(s) are published to the Data Router.

Status
titleNot yet tested

4Ensure that the File Consumer simulator is able to subscribe and consume the PM file(s) from the Data Router.

Status
titleNot yet tested

Test environment requirements for above test cases:

  • sample data file(s) available on simulated xNF.
  • Test environment reqs:
  • DMaaP R3, at minimum need DR running and configured for Bulk PM support
  • Docker images for VES Collector, Message Outer, Data File Collector, Data Router