...
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.
Open Questions:
What is trying to be achieved:
Code Block | ||
---|---|---|
| ||
leaf card-ref {
type instance-identifier;
description "A reference to the card which the pluggable belongs to.";
} |
Code Block | ||
---|---|---|
| ||
...
"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
- CPS has the responsibility of creating the schema_node?
- Schema node is being referenced before creation in cps database?
- Schema node is not being created?
- Is this a case that CPS does not yet support instance-identifiers and it is a functionality we have to add.