-
Improvement
-
Resolution: Unresolved
-
Medium
-
None
-
None
The dichotomy of these two PathArguments leads to keyed list items being addressed through two PathArguments. With out of the way the presence of lists as DataTree elements is an implementation detail, as they are completely transparent to datastore operations.YANGTOOLS-585
Considering filtering requirements coming from RFC6241, there really are four levels of NodeIdentifier when we are considering lists:
- NodeIdentifier: select all members
- NodeIdentifierWithPredicates: select a single (keyed) list entry
- NodeIdentifier + NodePredicates: select all nodes matching predicates
- if NodePredicates is a superset of key predicates: select single entry if it is matching additional predicates
This has interplay with other types like containers, where predicates must match leaves – hence having a read() of a container using NodeIdentifier + NodePredicates would a well-defined filtering operation. We also need to consider implementation complexity and usefulness in face of the fact we want to support XPath queries at some point.
- relates to
-
YANGTOOLS-568 Remove AugmentationIdentifier and AugmentationNode
- Resolved