Overview
CPS stores the yang model of the mounted devices in CPS-Core database. It is handled by CPS-DMI Plugin which fetches the yang models of the devices registered at AAI and stores in CPS.
As the VNF/PNF registry in AAI is not supported for Slicing use case, the mounted nodes will be directly published to the CPS-DMI Plugin.
A new karaf feature is needed to communicate the node-id to CPS-DMI plugin. This
RPC Details
RPC Name: addCMHandle
Functionality:
- This RPC collects all the nodes mounted using the API https://localhost:8086/restconf/config/network-topology:network-topology
- Iterates over each node and prepares a cmhandle.
- Each cmhandle is posted to the dmaap topic to reach DMI Plugin
cmhandle format:
Reference: CPS-352 : Create yang-model for DMI-registry data
where,
cm-handle-id is node id
dmi-service-name is Kubernetes service name of the DMI Plugin
RPC Yang: CMHandle-API.yang
yang tree: