- CPS-1000Getting issue details... STATUS
The Data Synchronization watchdog updates the cps database with RAN CM Handle data. The Synchronization uses DMI passthrough service and SDNC to get the data from RAN. Refer here for more information.
The steps involved in this process,
Step 1:
Query the CM handles that are in 'READY' & 'UNSYNCHRONIZED' from DB. Select a random CM handle from the collection.
//state[@cm-handle-state="READY"]/ancestor::cm-handles | //state/datastore/operational[@sync-state="UNSYNCHRONIZED"]/ancestor::cm-handles
Step 2:
Get the CM Handle data from RAN through DMI passthrough service.
Note: At the moment the DMI passthrough service requires resource Identifier eg: stores:bookstore. The SDNC has the capability to get all the resources from the Mounted device but how to identify the resource for cm handle data?
A PNF Simulator is used with YANG Model,
module stores { yang-version 1.1; namespace "org:onap:ccsdk:sample"; prefix book-store; import ietf-yang-types { prefix yang; } import ietf-inet-types { prefix inet; } revision "2020-09-15" { description "Sample Model"; } typedef year { type uint16 { range "1000..9999"; } } container bookstore { leaf bookstore-name { type string; } list categories { key "code"; leaf code { type string; } leaf name { type string; } list books { key title; leaf title { type string; } leaf lang { type string; } leaf-list authors { type string; } leaf pub_year { type year; } leaf price { type uint64; } } } } }