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

Add ItemOrder.{Ordered,Unordered} concept

    XMLWordPrintable

Details

    • New Feature
    • Status: Resolved
    • Medium
    • Resolution: Done
    • None
    • 7.0.0, 6.0.2
    • None
    • None

    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.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: