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.
...
RPC Name: addCMHandle
Functionality:
- This RPC collects all the nodes mounted using the API makes use of the onDataTreeChanged event from DataTreeChangeListener to detect, if any node is added to network-topology 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
If the ModificationType is 'WRITE', a new notification is published to dmaap to add the cmhandle.
- If the ModificationType is 'DELETE', the notification to remove the cmhandle will be published. - TBC with CPS Team
cmhandle format:
...