[NETCONF-862] Add changed-leaf-nodes-only subscription extension Created: 24/Feb/22 Updated: 26/Jul/23 Resolved: 02/Jan/23 |
|
| Status: | Resolved |
| Project: | netconf |
| Component/s: | restconf-nb |
| Affects Version/s: | None |
| Fix Version/s: | 5.0.0 |
| Type: | New Feature | Priority: | Medium |
| Reporter: | Peter Puškár | Assignee: | Peter Puškár |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Description |
|
There is a need for an extension which has similar behavior to odl-leaf-nodes-only. |
| Comments |
| Comment by Robert Varga [ 19/Aug/22 ] |
|
This change will change the semantics of the extension. Performing leaf-level comparison, which incurs significant CPU penalty vs. the current spec. |
| Comment by Peter Puškár [ 22/Aug/22 ] |
|
Okay, I can make this separate extension. One more question though, the problem for this lies in the upstream implementation as the DataTreeCandidateNode that is passed down to serializeLeafNodesOnly is NormalizedNodeDataTreeCandidateNode (can it be other implementation?) which always returns ModificationType.WRITE in its getModificationType() implementation, even for the NormalizedNode which has same Before and After data. Should the semantics in the upstream implementation stay as it is and we adjust to that as downstream user here? |