Fix preparing action with path containing augment 77/82177/1
authorAnna Bencurova <Anna.Bencurova@pantheon.tech>
Mon, 20 May 2019 15:08:41 +0000 (17:08 +0200)
committerRobert Varga <nite@hq.sk>
Mon, 20 May 2019 16:33:26 +0000 (16:33 +0000)
commit8c558823627af9965084865247d1e9d43d46c3c6
tree581d7c98de6e0a975e55c4c0d76aaa315ad3ebcb
parentfc1da2f897386789b0fb9d8c117aad2311da95b0
Fix preparing action with path containing augment

- Augment does not have QName, so call getNodeType causes exception.

JIRA: NETCONF-620

Change-Id: Ib5f64eb1980784ad8df617a1ad9676cad9c2111c
Signed-off-by: Anna Bencurova <Anna.Bencurova@pantheon.tech>
(cherry picked from commit 45550671df11ff4df23dbd4072561b20919df1a2)
netconf/sal-netconf-connector/src/main/java/org/opendaylight/netconf/sal/connect/netconf/util/NetconfMessageTransformUtil.java
netconf/sal-netconf-connector/src/test/java/org/opendaylight/netconf/sal/connect/netconf/schema/mapping/NetconfMessageTransformerTest.java
netconf/sal-netconf-connector/src/test/resources/schemas/example-server-farm-2.yang [new file with mode: 0644]