[NETCONF-919] Do not touch configuration datastore during netconf-topology init Created: 05/Dec/22  Updated: 08/Dec/22  Resolved: 08/Dec/22

Status: Resolved
Project: netconf
Component/s: netconf
Affects Version/s: None
Fix Version/s: 5.0.0

Type: Improvement Priority: Medium
Reporter: Robert Varga Assignee: Robert Varga
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Relates
relates to NETCONF-128 Cannot detect netconf up and running ... Resolved

 Description   

NETCONF-128 introduced an explicit merge into configuration during initialization. As such, configuration is introduced by user – if they do not wish the configuration to be there, it will not be there.

This is lifecycle problem as well – if an ODL instance has netconf-topology installed, but then it gets uninstalled, the configuration will still remain and at some point will end up being invalid because the corresponding models are not there. At that point CDS will prune it (IIRC), but this is just magic and a problem waiting to happen.

As such, if there is nothing configured, there should equally be nothing in operational datastore and netconf topology should be just lying dormant waiting for configuration to appear.

As for the detection – the CSIT suite knows what it installs and the ready service reports when all components are initialized – which is enough indicate things.


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