[NETCONF-1076] Add Child only mode to SSE / Websocket Created: 06/Jul/23  Updated: 08/Sep/23  Resolved: 07/Sep/23

Status: Resolved
Project: netconf
Component/s: restconf-nb
Affects Version/s: None
Fix Version/s: 7.0.0, 6.0.3

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

Issue Links:
Relates
relates to NETCONF-1153 Unnecessary data change events for ch... Resolved

 Description   

With Restconf API, it is possible to subscribe to event reported through SSE or Websocket.

Event is composed of time, data, path and type of event. Query parameter could be added to get leaf node only instead the whole data tree (see https://docs.opendaylight.org/projects/netconf/en/latest/user-guide.html#change-event-notification-subscription-tutorial)

However, for some use case (e.g got link event modification from network-topology or graph-topology) default query is too huge (the whole topology) and leaf node only too detailed (a link is composed of dozen of parameters).

This new feature introduce a new 'odl-child-node-only' query parameter when subscribing to the events to get in a compact JSON or XML only children that have been modified during this event. It could be considered as an intermediate choice between the default behavior and the 'odl-leaf-nodes-only' query parameter.


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