Make createTopologyNodeListPath() a bit more useful 86/97386/3
authorRobert Varga <robert.varga@pantheon.tech>
Sat, 4 Sep 2021 00:10:59 +0000 (02:10 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Sat, 4 Sep 2021 01:10:35 +0000 (03:10 +0200)
commit23e591d6034f2817b6f32902c621fdf8e0b5c8e4
treeba01a97f8c5d43d3ed3726d02d3c192ac5c9afb0
parent196dbd2eb880082de92e8211f688f070576c2a5f
Make createTopologyNodeListPath() a bit more useful

We are taking an explicit key to construct a KeyedInstanceIdentifier,
which can easily return it back. Expose this functionality to others,
which is useful at least for a test.

Change-Id: I82fab42271adcdbb75f03aaccc750ae5a0b32384
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
netconf/netconf-topology-singleton/src/main/java/org/opendaylight/netconf/topology/singleton/impl/utils/NetconfTopologyUtils.java
netconf/netconf-topology-singleton/src/test/java/org/opendaylight/netconf/topology/singleton/impl/MountPointEndToEndTest.java