Details
-
Improvement
-
Status: Confirmed
-
Highest
-
Resolution: Unresolved
-
None
Description
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.
Attachments
Gerrit Reviews
| # | Subject | Branch | Project | Status | CR | V |
|---|---|---|---|---|---|---|
| 108582,3 | WIP: Change instance-identifier mapping | master | mdsal | Status: NEW | 0 | -1 |
| 108583,1 | WIP: Add GetterReferece | master | mdsal | Status: NEW | 0 | -1 |