[YANGTOOLS-1170] Add ItemOrder.{Ordered,Unordered} concept Created: 13/Nov/20  Updated: 10/Apr/22  Resolved: 04/Dec/20

Status: Resolved
Project: yangtools
Component/s: None
Affects Version/s: None
Fix Version/s: 7.0.0, 6.0.2

Type: New Feature Priority: Medium
Reporter: Robert Varga Assignee: Robert Varga
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

YANG defines distinct equality classes based on whether order of items is significant. This is typically expressed via 'ordered-by' statement.

Our NormalizedNode model does not correctly capture this property, leading to ill-defined equality contract where MapNode and LeafSetNode are involved.

Define a general ItemOrder construct with two subclasses, Ordered and Unordered, which capture this contract. These need to be mutally-exclusive similar to Mutable/Immutable contract.


Generated at Wed Feb 07 20:55:23 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.