Versions Compared

Key

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

Table of Contents
References

Jira
serverONAP Jira
serverId425b2b0a-557c-3c0c-b515-579789cceedb
keyCPS-1434

Jira
serverONAP Jira
serverId425b2b0a-557c-3c0c-b515-579789cceedb
keyCPS-1713

Requirements

Functional

#

Interface

Requirement

Additional Information

Signoff






Error Handling

#

Error Scenario

Expected behavior

1What happens if we receive a Cm Data AVC event for replace , but there is no corresponding record in CPS-Cache ?

What happens when the updating of the cache fails ? Do we still send the messages to kafka ?

Characteristics

#

Parameter

Expectation

Notes

1Frequency of VES Message from VES Standardized device


Frequency of DMI Data AVC Event sent out from DMI plugin to NCMP

Out-of-scope

  • Any operation other than "replace" . eg : create , merge , delete etc.

Assumptions

#

Assumption

Notes

1

The model is already present in CPS and we have the data corresponding to it.

CPS is not responsible for taking care of the model.
2

"Replace" operation is only supported.





Issues & Decisions

#

Issue

Notes 

Decision

1Do we persist the incoming CM Data AVC Event in our database ?

2Which model to be used for the data in the cache ?

3Who will upload the model ? will it be done using our model-loader way ?

4How will the data be uploaded which will later be updated ?

5What happens once the data is updated ? Is cps-core responsible to send out the updated events ? 

6Frequency of VES message , which determines the frequency of Data AVC events.

7Which datastore to be used in CPS?


Overview

  • What is happening now ? 


PlantUML Render Macro
titleSON_CPS_EXISTING
@startuml "Existing CPS SON Use Case"

participant VES_COLLECTOR
participant DMI_PLUGIN
participant NCMP
participant KAFKA

VES_COLLECTOR -> DMI_PLUGIN : Ves Standard Message
DMI_PLUGIN -> DMI_PLUGIN : Reads and Transforms VES Msg to DMI Data AVC Cloud Event
DMI_PLUGIN -> NCMP : DMI Data AVC Event
NCMP -> KAFKA : NCMP just forwards the DMI Data AVC to cm-events topic
@enduml



  • What we want to achieve ?


PlantUML Render Macro
titleSON_CPS_TARGET
@startuml "Target CPS SON Use Case"

participant VES_COLLECTOR
participant DMI_PLUGIN
participant NCMP
participant CPS_CORE
participant KAFKA

VES_COLLECTOR -> DMI_PLUGIN : Ves Standard Message
DMI_PLUGIN -> DMI_PLUGIN : Reads and Transforms VES Msg to DMI Data AVC Cloud Event
DMI_PLUGIN -> NCMP : DMI Data AVC Event
NCMP -> NCMP : Parses DMI Data AVC Event
NCMP -> CPS_CORE : delegates the "Replace" operation to CPS-CORE
CPS_CORE -> CPS_CORE : Performs the PATCH operation and updates the existing data
NCMP -> KAFKA : NCMP forwards the DMI Data AVC to cm-events topic
@enduml