Details
-
Improvement
-
Status: Resolved
-
Resolution: Done
-
None
-
None
-
None
-
None
-
Operating System: All
Platform: All
Description
RFC6020 defines the conditions under which a leaf marked as mandatory needs to be present in https://tools.ietf.org/html/rfc6020#section-7.6.5.
This enforcement should be part of the DataTree.prepare() phase and should validate the resulting tree. Since prepare() cannot be performed concurrently and mandatory leaves are not common, we need to maintain a cache of children paths which must be present under a particular NormalizedNodeContainer. The cache should be global and weakly-keyed on SchemaNode.
Attachments
Issue Links
- is blocked by
-
BGPCEP-331 Openconfig mandatory descendant missing
- Resolved
-
YANGTOOLS-553 Yang parser does not determine configuration true or false properly
- Resolved