Uploaded image for project: 'mdsal'
  1. mdsal
  2. MDSAL-840

Fix instance-identifier mapping

XMLWordPrintable

      We currently map YANG's instance-identifier to yang.binding.InstanceIdentifier. Unfortunately InstanceIdentifier is not able to represent all valid instance-identifiers, as it cannot address leaf nodes.

      Design a replacement for InstanceIdentifier, BindingInstanceIdentifier, which will have two basic specializations:

      • BindingDataObjectIdentifier, which is essentially InstanceIdentifier, but does not allow wildcards
      • BindingValueIdentifier, which extends InstanceIdentifier with the last leaf step, in the form of a accessor

      This latter mirrors how we identify leaf values in Binding Query, so there is a precedent.

            Unassigned Unassigned
            rovarga Robert Varga
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: