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

Add DataTreeCandidates.aggregate() method

    XMLWordPrintable

Details

    • Improvement
    • Status: Resolved
    • Medium
    • Resolution: Done
    • None
    • 5.0.2
    • None

    Description

      MD-SAL has context where it has a list of DataTreeCandidate objects which form a set of changes, but it really needs to forward only the effective delta, i.e. a single DataTreeCandidate.

      Add DataTreeCandidates.aggregate(List<DataTreeCandidate> candidates) method, which will create a new DataTreeCandidate node, having following properties:

      • dataBefore matches the first candidate's dataBefore
      • dataAfter matches the last candidate's dataAfter
      • reported change tree is an accurate aggregate of the changes between the before and after state

      Attachments

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

        Activity

          People

            TadeyBilan Tadey Bilan
            rovarga Robert Varga
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: