Partially revert "Fix incorrect operational state of device configuration" 07/108507/3
authorRobert Varga <robert.varga@pantheon.tech>
Wed, 18 Oct 2023 17:19:15 +0000 (19:19 +0200)
committerRobert Varga <nite@hq.sk>
Fri, 20 Oct 2023 10:38:17 +0000 (10:38 +0000)
commitb6941563e68a8e6a8d70356fa26c6b6c72e92791
treeafb5df114f6ff5c4366c1e55455a6f2b7d8a5ebd
parent1f5210393f7696c7e37c1d0cca1fdd758b50fe32
Partially revert "Fix incorrect operational state of device configuration"

NetconfNodeHandler must always have a correct configuration. Users must
be prepared with the fallout of supplying incorrect configuration.

This restores previous behaviour and documents existing behaviour,
repurposing tests introduced in the reverted patch.

JIRA: NETCONF-1114
Change-Id: Iccb501321957a41cac115d70c0da9799fe62d1bd
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
apps/netconf-topology/src/main/java/org/opendaylight/netconf/topology/spi/DefaultNetconfClientConfigurationBuilderFactory.java
apps/netconf-topology/src/main/java/org/opendaylight/netconf/topology/spi/NetconfNodeHandler.java
apps/netconf-topology/src/main/java/org/opendaylight/netconf/topology/spi/NetconfNodeUtils.java
apps/netconf-topology/src/test/java/org/opendaylight/netconf/topology/spi/DefaultNetconfClientConfigurationBuilderFactoryTest.java
apps/netconf-topology/src/test/java/org/opendaylight/netconf/topology/spi/NetconfNodeHandlerTest.java
apps/netconf-topology/src/test/java/org/opendaylight/netconf/topology/spi/NetconfNodeUtilsTest.java