BUG-8697: select correct transformer for schemaless netconf mounts 14/59514/2
authorGwenael Lambrouin <gwenael.lambrouin@b-com.com>
Thu, 22 Jun 2017 12:27:42 +0000 (14:27 +0200)
committerTomas Cere <tcere@cisco.com>
Tue, 27 Jun 2017 08:50:35 +0000 (10:50 +0200)
commit9435a8b4b6de63484a0cdd0d7da264532cb0c204
tree330db9ac377344f1ea06c6c2071eab352c77c6a8
parentfc7cf19a6e5f0d0f27365921f97c03e397ee9db7
BUG-8697: select correct transformer for schemaless netconf mounts

Getting or editing the configuration of a schemaless-mounted netconf device
from the code of an ODL application results in a NullPointerException.

This patch fixes the NetconfBaseOps constructor so that the RPC structure
transformer dedicated to schemaless mount points is actually selected.

Change-Id: Ib0b2d1c9910613f4354bdcb4f1c56e9be36a95b2
Signed-off-by: Gwenael Lambrouin <gwenael.lambrouin@b-com.com>
(cherry picked from commit 32621d57701de889651097ce5c1bfc3bb5f43ce9)
netconf/sal-netconf-connector/src/main/java/org/opendaylight/netconf/sal/connect/netconf/sal/KeepaliveSalFacade.java
netconf/sal-netconf-connector/src/main/java/org/opendaylight/netconf/sal/connect/netconf/util/NetconfBaseOps.java