Fix preparing action with path containing augment 76/82176/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:18 +0000 (16:33 +0000)
commit4b451950fe051f7b46979fba0d03f28dcf07bd25
tree12883c25916d793651111efff7a98cd30ff6e7d8
parent78843ccca75741317191f8c4f27c35846ac73f11
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]