- CPS-1180Getting issue details... STATUS
Brief:
On the use of the yang type instance-identifier, OpenDaylight attempts to read a schema_node with identifier (org:onap:ccsdk:features:sdnr:northbound:ran-network?revision=2020-08-06)nearrtric
This produces an error as either the schema_node does not exist yet or it was not created. The instance-identifier is a pointer to a schema_node. We have no create methods for a schema_node in CPS, only to read schema_nodes.
What is trying to be achieved:
Snippet of ran network yang model
leaf card-ref { type instance-identifier; description "A reference to the card which the pluggable belongs to."; }
JSON nodes payload for ran network data
... "card-ref": ["/ran-network:nearrtric/nearrtric/gnbdufunction:gnbdu/nrcelldu[idnrcelldu='15289']"], ...
Issues:
ODL does not recognize the instance-identifier value is an xpath and parses as data which is saved in the db
- actually I think its CPS that handles this? If this is the case then how is CPS suppose to know that this is an instance identifier and not another node.
- schema_node is not created for an instance-identifier