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 Casablanca release)
- 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 (committed goal for Dublin release)
JIRA:
Jira Legacy | ||||||
---|---|---|---|---|---|---|
|
Deployment:
Test environment requirements for above test cases:
- xNF simulator for test cases: FTPes capable server.
- with VES 7.0.1 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.
- sample data files for collection. E.g. 3gpp PM file(s)
- DMaaP R3, at minimum need DR running and configured for Bulk PM support
- DCAE R3, MR with support for VES 7.0.1 spec
- DCAE R3, Data File Collector installed and configured
This environment can be set up by following the steps below.
- Clone the integration/csit repo (git clone ssh://gerrit.onap.org:29418/integration/csit).
- Run: .run-csit.sh plans/usecases/5G-bulkpm
Use Case preconditions:
- xNF simulator.
E2E Sunny Day Scenario Sequence Diagram
Gliffy | ||||||
---|---|---|---|---|---|---|
|
High Level End-to-End feature integration Testcases :
# | Test Case | Status | ||||||||
---|---|---|---|---|---|---|---|---|---|---|
1 | Ensure that the 'FileReady' VES event is sent from the simulated xNF via the VES collector. |
| ||||||||
2 | Ensure that the unauthenticated.VES_NOTIFICATION_OUTPUT topic is present once it received "File Ready" VES notification from VES Collector. |
| ||||||||
3 | Ensure 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. |
| ||||||||
4 | Ensure that the PM xml file(s) are published to the Data Router. |
| ||||||||
5 | Ensure that a simulated File Consumer is able to subscribe and consume the PM file(s) from the Data Router. |
| ||||||||
6 | Verify 3GPP PM Mapper subscribes to feed on the Data Router and maps the PM xml file onto the Message Router as a Ves VES Message(s) |
|
Detailed Description End-to-End Feature Integration Testcases :
Test Case ID | Bulk_PM_E2E_01 | ||||
---|---|---|---|---|---|
Test Case Name | Send FileReadyEvent to VES Collector | ||||
Description | Ensure that the 'FileReady' VES event is sent from the simulated xNF to the VES collector. | ||||
Release | Casablanca | ||||
Pre-conditions | From the above section "Deployment" a test environment with all the required components - xNF (simulated with sftp or sftpe ), VES Collector are all started. | ||||
Testing Steps |
| ||||
Conclusion (Pass /Fail) | PASS | ||||
Testing Lab | https://jenkins.onap.org/view/CSIT/ Ubuntu Docker Machine |
Test Case ID | Bulk_PM_E2E_02 | ||||||
---|---|---|---|---|---|---|---|
Test Case Name | DmaaP topic for unauthenticated.VES_NOTIFICATION_OUTPUT | ||||||
Description | Ensure that the unauthenticated.VES_NOTIFICATION_OUTPUT topic is present on the DMaaP Message Router once it receives "File Ready" VES notification from VES Collector. | ||||||
Release | Casablanca | ||||||
Pre-conditions | 1 .The DmaaP Message Router is up and running. 2. The Previous Test case has passed and its environment is still running | ||||||
Testing Steps |
| ||||||
Conclusion (Pass /Fail) | PASS | ||||||
Testing Lab | https://jenkins.onap.org/view/CSIT/ Ubuntu Docker Machine |
Test Case ID | Bulk_PM_E2E_03 | ||||||||
---|---|---|---|---|---|---|---|---|---|
Test Case Name | Download of xml PM file(s) from xNF when 'FileReady' VES event is received. | ||||||||
Description | Ensure 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. | ||||||||
Release | Casablanca | ||||||||
Pre-conditions | The Previous Test case has passed and its environment is still running | ||||||||
Testing Steps |
| ||||||||
Conclusion (Pass /Fail) | PASS | ||||||||
Testing Lab | https://jenkins.onap.org/view/CSIT/ Ubuntu Docker Machine |
Test Case ID | Bulk_PM_E2E_04 | ||||||
---|---|---|---|---|---|---|---|
Test Case Name | File Collector informs Data Router of xml PM file(s) | ||||||
Description | Ensure that the PM xml file(s) are published to the Data Router. | ||||||
Release | Casablanca | ||||||
Pre-conditions | The Previous Test case has passed and its environment is still running | ||||||
Testing Steps |
| ||||||
Conclusion (Pass /Fail) | PASS | ||||||
Testing Lab | https://jenkins.onap.org/view/CSIT/ Ubuntu Docker Machine |
Test Case ID | Bulk_PM_E2E_05 | ||||||
---|---|---|---|---|---|---|---|
Test Case Name | Simulated File Consumer receives the xml PM file(s) | ||||||
Description | Ensure that a simulated File Consumer is able to subscribe and consume the PM file(s) from the Data Router. | ||||||
Release | Casablanca | ||||||
Pre-conditions | The Previous Test case has passed and its environment is still running | ||||||
Testing Steps |
| ||||||
Conclusion (Pass /Fail) | PASS | ||||||
Testing Lab | https://jenkins.onap.org/view/CSIT/ Ubuntu Docker Machine |
Test Case ID | Bulk_PM_E2E_06 | ||||||
---|---|---|---|---|---|---|---|
Test Case Name | Verify 3GPP PM Mapper maps the PM xml file onto the Message Router as a Ves Message(s) | ||||||
Description | Verify 3GPP PM Mapper subscribes to feed on the Data Router and maps the PM xml file onto the Message Router as a Ves Message(s) | ||||||
Release | Dublin | ||||||
Pre-conditions | The Previous Test case has passed and its environment is still running | ||||||
Testing Steps |
| ||||||
Conclusion (Pass /Fail) | - | ||||||
Testing Lab | https://jenkins.onap.org/view/CSIT/ Ubuntu Docker Machine |
Information:
For more information on the DMaaP API's see this link DMaaP API
Next Step(s):
Write Tests cases to verify BulkPM on an ONAP environment.