Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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
titleSnippet of ran network yang model
      leaf card-ref {
          type instance-identifier;
          description "A reference to the card which the pluggable belongs to.";
      }


Code Block
titleJSON nodes payload for ran network data
...
	"card-ref": ["/ran-network:nearrtric/nearrtric/gnbdufunction:gnbdu/nrcelldu[idnrcelldu='15289']"],
...


Issues:

  1. ODL does not recognize the instance-identifier value is an xpath and parses as data which is saved in the db

    1. 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.
  2. schema_node is not created for an instance-identifier
  3. CPS has the responsibility of creating the schema_node?
    1. Schema node is being referenced before creation in cps database?
    2. Schema node is not being created?
  4. Is this a case that CPS does not yet support instance-identifiers and it is a functionality we have to add.