Bug 8989 - Create just one DS for each test-tool's simulated netconf device 42/62642/1
authorJakub Morvay <jmorvay@cisco.com>
Fri, 18 Aug 2017 08:28:03 +0000 (10:28 +0200)
committerJakub Morvay <jmorvay@cisco.com>
Mon, 4 Sep 2017 17:02:15 +0000 (17:02 +0000)
commit0434081c850987b77fbd114153a4cba924dfb5f1
tree900840f5808ce83bd0cc17a1e8a250f6955baaba
parent2907ab5254e31d51749f572c82b373787e41528c
Bug 8989 - Create just one DS for each test-tool's simulated netconf device

When using netconf test-tool with option --md-sal set to true, we expect
that each test-tool's simulated netconf device will have its own md-sal
persistent datastore. However, current implementation creates own
datastore for each netconf session.

Map newly created simulated device's datastore to its server socket
instead of netconf session's socket.

Change-Id: I2d5a0295c8cbff6d29baafa36bdbbe6aba8119c6
Signed-off-by: Jakub Morvay <jmorvay@cisco.com>
(cherry picked from commit c65ab49a8a2f72446e13e0bb0f8395722c455c6b)
netconf/netconf-impl/src/main/java/org/opendaylight/netconf/impl/NetconfServerSessionNegotiatorFactory.java