Uploaded image for project: 'yangtools'
  1. yangtools
  2. YANGTOOLS-1170

Add ItemOrder.{Ordered,Unordered} concept

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Done
    • Icon: Medium Medium
    • 7.0.0, 6.0.2
    • None
    • None
    • None

      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.

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

              Created:
              Updated:
              Resolved: