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.
...
- This RPC 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
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
...
Gliffy | ||||||||
---|---|---|---|---|---|---|---|---|
|
Interfaces:
- Mount Request to SDN-R
Expand | ||
---|---|---|
| ||
|
2. New Feature at SDN-R to publish the cm-handle
feature: addCMHandle
Dmaap Topic: CM_HANDLE (TBC)
3. Receive the DMaap notification
curl -k --header "Content-Type: application/json" --request GET https://<ip>:30226/events/CM_HANDLE
4. Fetch the yang model and intial config data from SDN-R using RESTConf API
Yang model: https://<ip>:<port>/restconf/operations/network-topology:network-topology/topology/topology-netconf/node/{node-id}/yang-ext:mount/ietf-netconf-monitoring:get-schema
Initial-config data: https://<ip>:<port>/restconf/config/network-topology:network-topology/topology/topology-netconf/node/{node-id}/yang-ext:mount/ran-network:ran-network