References
- CPS-1434Getting issue details... STATUS
- CPS-1407Getting issue details... STATUS
- INT-2177Getting issue details... STATUS
https://www.rfc-editor.org/rfc/rfc8641
O1 CM Update Notification VES Message
SON Use Case Weekly Meeting Notes
Assumptions
# | Issue | Notes | Decisions |
---|---|---|---|
1 | VES Event is received via Strimzi/DMaap Kafka on DMI. | Yes. This is agreed. | |
2 | Changes in CM data will result in CPS-Core sending a CPS Data AVC irrespective the origin of the change. |
| Agreed. |
Issues & Decisions
# | Issue | Notes | Decisions |
---|---|---|---|
1 | CM VES Message format schema. Who will own it ? | In order to process the message DMI plugin / NCMP should be aware of the schema of the incoming message it is going to be consume. | VES format primary reference is here: [INT-2180] Define CM VES message aligned with 3GPP/O-RAN O1 - ONAP JIRA |
2 | Topic from where we will receive the CM VES Message. | Existing channel or channel owned by NCMP/DMI | Vishal Varvate to provide the topic details. Priyank Maheshwari ,please use below topic unauthenticated.SEC_3GPP_PROVISIONING_OUTPUT |
3 | Mapping of the relevant information from the CM VES Message
| Only fields that seem to suggest to have these info. are.
Related work in ONAP suggests this possible alternative schema: So wanted to confirm if measurements.measurement-type-instance-reference is xpath? | Mapping detailed below: VESEvent%E2%86%92DMIDataAVCMapping CM VES related details present in CM handling guide and - INT-2177Getting issue details... STATUS |
4 | DMI Data AVC Message | ||
5 | Topic from NCMP-DMI-Plugin to NCMP | The producer is already configured. | Topic name : dmi-cm-events |
The Big(ger) Picture
For more details and descriptions see CPS Data Notifications Overview
VES Event Flow
- DMI Plugin to receive CM VES Message from the upstream( VES Collector ?? ) via a REST call or DMI will listen to a topic. ( or also can generate a VES message for testing)
- DMI Plugin will have to convert the CM VES Message to DMI Data AVC event and publish the same to an internal topic.
- NCMP will have logic to handle the DMI AVC event received to update the cache. ( See #6 in CPS Data Notifications Overview )
VES Event → DMI Data AVC Mapping
VES Event | DMI Data AVC | Notes | |||||||
---|---|---|---|---|---|---|---|---|---|
# | Part | Field | Source | Sample Value | Part | Field | Source | Sample Value | |
1 | Header | eventId | 123435 | Header | eventId | DMI Plugin | 123435 | Has to be globally unique | |
2 | Header | eventTime | device | 2021-11-16T16:42:25-04:00 | Header | eventTime | VES Event | 2021-11-16T16:42:25-04:00 | TO BE DISCUSSED see open issue # |
3 | Header | sourceId | device | nearrtric-22_cucpserver2 | Header | eventSource | VES Event | device-123 | Upto DMI plugin to send. where it came from etc. |
4 | Header | sourceId | nearrtric-22_cucpserver2 | Header | eventCorrelationId | VES Event & Conversion | nearrtric-22_cucpserver2 | DMI PLugin need to map TBC | |
5 | Payload | path | ran-network:ran-network/NearRTRIC=22/GNBCUCPFunction=cucpserver2/ ran-network:ran-network/NearRTRIC=11/GNBCUCPFunction=cucpserver2/ | Payload | target | VES Event & Conversion | ManagedElement@[id='1']\Function[@id='SomeFunction'] ran-network:ran-network/NearRTRIC[@id="22"]/GNBCUCPFunction[@id="cucpserver2"]/ | DMI PLugin needs to convert FDN to XPath | |
6 | Payload | patch-id | DMI Plugin | 329cb2e3-b41a-4347-9884-f15457f426a1 | Unique ID generated by DMI-Plugin | ||||
7 | Payload | operation | device | 'replace' | Payload | operation | VES Event & Conversion | 'replace' | DMI PLugin needs to map |
The DMI Data AVC Payload is defined by https://www.rfc-editor.org/rfc/rfc8641
Value Copied VES Event | Transformed VES Event Value | Value Generated by DMI-Plugin |
Analysis
- Dataspace : NFP-Operational
- Yang Resource : ran-network to be used. ( trimmed down version just like cps-ran-schema-model )
- We need to have a defined channel/topic where the VES messages are present , and NCMP should be able to listen , interpret/process and call the relevant CPS-Core APIs in order to publish the changes in the CPS DB.
Meetings
# | Participants | Recording |
---|---|---|
1 | CPS _ CM VES Message _ Discussion-20230123_140429-Meeting Recording.mp4 | |
2 | CM VES Message to DMI Data AVC Mapping Discussion-20230309_130245-Meeting Recording.mp4 | |
3 |
21 Comments
N.K. Shankaranarayanan
Q3 refers to a link for PM (kpi such as throughput) VES messages. CM VES messages are different. See also this O-RAN SC work on CM Handling (Nov 2021). The following page
CM handling guide - Developer Wiki - Confluence (onap.org)
describes a CM VES message and procedure for handling it, especially mapping the schema url to a local url. This refers to a 3GGP Rel16 scheme which needs to be updated to https://forge.3gpp.org/rep/sa5/MnS/-/blob/Rel-18/OpenAPI/TS28532_ProvMnS.yaml
N.K. Shankaranarayanan
Changed "REPLACE" to "replace"
N.K. Shankaranarayanan
I think the issue of what cmHandle to use has not yet been resolved. This is part of the Day0 initialization of CPS DB which is being done manually for London release. The VES msg needs to be parsed to derive the pre-chosen cmHandle which is needed in the AVC message.
N.K. Shankaranarayanan
One reasonable option is for the cmhandle to map to the NF. In our sample CM VES https://jira.onap.org/secure/attachment/18728/18728_cm_ves_20230228.json the sourceId in the header identifies the GNB CU NF. The cmhandle should be derived from this.
"sourceId": "nearrtric-22_cucpserver2",
href has an ip address of the device.
Vishal Varvate
Hi Priyank Maheshwari ,can you please add a sample of AVC Event.
Priyank Maheshwari
Hi Vishal , here is the sample we prepared.
FYI
Toine Siebelink kieran mccarthy Tony Finnerty
Priyank Maheshwari
Hi All ,
As per todays discussion , we agreed to use sourceId from CM VES Message to be mapped with eventCorrelationId ( which would be used as CmHandle in NCMP ) .
Also sourceId (which represents the network function ) is globally unique in the network.
We are not using href now in our mapping.
Priyank Maheshwari
Priyank Maheshwari
Priyank Maheshwari
Hi All ,
We have this ran-network.yang which acts as a superset model.
In cps we have cps-ran-schema-model which is a subset of the above.
I think it has fields/attributes been used for E2E Network Slicing use case.
For the 5G SON Use case we would need to extend the model to add NRCellRelation and have attribute isHOAllowed in it.
We have created a story to analyze the same. CPS-1559 - Getting issue details... STATUS
N.K. Shankaranarayanan Vishal Varvate Do you think if we need to add any more attribute ??
FYI Toine Siebelink kieran mccarthy Tony Finnerty
Priyank Maheshwari
Hi All ,
Just an update around this after an internal discussion we had with team.
N.K. Shankaranarayanan Vishal Varvate You guys should be able to provide your updated schema and would be able to load the schema using cps-core api's and once the model is loaded then we can also load the data adhering to that model.
Toine Siebelink Tony Finnerty kieran mccarthy
Priyank Maheshwari
Hi Vishal Varvate
We released 3.2.6 version of cps-and-ncmp.
You can now refer to this version in the dmi-plugin. It has the changes in the schema which we discussed earlier.
Let me know if you find any difficulties on the same.
Priyank Maheshwari
FYI.
We have already updated the 3.2.6 version in ncmp-dmi-plugin code.
Priyank Maheshwari
Hi All ,
I provided a basic demo of CPS-Core APIs which can be used in the NCMP code to proceed with our use cases.
Below steps we followed :
FYI N.K. Shankaranarayanan Vishal Varvate Murali Sai Rama Krishna Veligeti Tony Finnerty kieran mccarthy Toine Siebelink Anirban Bhattacharjee
Priyank Maheshwari
Hi All ,
We had a very short meeting this time.
Basically me and murali parthasarathy k touchbased and murali/vishal agrees with the comments I have and they would be able to raise the patch soon.
FYI Anirban Bhattacharjee Toine Siebelink N.K. Shankaranarayanan murali parthasarathy k Vishal Varvate
Priyank Maheshwari
Hi All ,
A little update on the DMI Data AVC event schema.
Currently we don't have Kafka Header information in our schema , so we will need to add the same and populate the same as well.
We are working on a spike for the same and let you know the details as soon as we have it.
I am just giving you guys a heads up. Vishal Varvate murali parthasarathy k
FYI Toine Siebelink kieran mccarthy Anirban Bhattacharjee N.K. Shankaranarayanan Tony Finnerty
Priyank Maheshwari
This is a separate change which is been tracked here to separate the Kafka Headers and the event body.
Details are here : CPS Events Structure
Priyank Maheshwari
Hi All ,
CPS-1668 - Getting issue details... STATUS is created to enhance the DMI Data AVC message.
Currently the actual payload is of type Object , we need to define the schema which is compliant with RFC8641 so that it is directly usable.
Priyank Maheshwari
This is done. We need to create the release to be used in the ncmp-dmi-plugin code.
Priyank Maheshwari
There is a new requirement to use the standardized events for any communication and we have finalized to use the Cloudevents for the same.
CPS-1717 - Getting issue details... STATUS
Epic created for tracking purpose.
FYI N.K. Shankaranarayanan Vishal Varvate murali parthasarathy k
Vishal Varvate
Hi Priyank Maheshwari ,
We have created below Jira task to update the DMI codebase to support cloudevents.
CPS-1747 - Getting issue details... STATUS
Priyank Maheshwari
Hi Vishal Varvate
Thanks for the heads up.
Also you can refer https://gerrit.onap.org/r/c/cps/ncmp-dmi-plugin/+/135008 this patch which has all the code to use the cloud events. ( Currently I am using the 3.3.3-SNAPSHOT version of it as I am awaiting a point release creation ) but the changes are reviewed and you can also build on top of this.
The details would be helpful for you to read the event from VES collector and transforming it to a DMI Data AVC event and sending to cps-ncmp side.