[NETCONF-1156] Improve NetconfDataTreeService to handle RFC6243 Created: 12/Sep/23 Updated: 14/Sep/23 |
|
| Status: | Confirmed |
| Project: | netconf |
| Component/s: | netconf-client-mdsal, restconf-nb |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | New Feature | Priority: | Medium |
| Reporter: | Robert Varga | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | pt | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Description |
|
RESTCONF is using a generic dispatch to deal with various RFC6243 constructs for both MD-SAL and NETCONF devices. This is rather unfortunate, because while we have (some) understanding of the MD-SAL datastore model, we have zero understanding as to what the device supports. Extend NetconfDataTreeService so we can discover whether the device supports :with-defaults capability and expose the appropriate methods to pass through the request, so that RESTCONF can keep its hands clean. |