Consider AugmentationNodes when direct descendant is not found 40/75940/1
authorMarek Gradzki <mgradzki@cisco.com>
Tue, 14 Aug 2018 08:05:37 +0000 (10:05 +0200)
committerRobert Varga <nite@hq.sk>
Mon, 10 Sep 2018 15:52:43 +0000 (15:52 +0000)
commit4e0cbdcf9b628ca9eeb94c924854ca25e9c8f73d
tree01dcac39ea19fefb3d0e57d7cfcbf77517c46371
parent2e5aa3f65c94a36a2f94fc4ee679a851e6f01ca5
Consider AugmentationNodes when direct descendant is not found

With previous refactors it is quite easy to arrive at a simple
solution to take augmentations into account. This also

This includes a unit test from upstream based on afi-safi-name
with bgp-openconfig-extensions.

JIRA: YANGTOOLS-892
Change-Id: I237ed2c6cbed458a2109a48b468a30650f103a48
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
yang/yang-data-codec-xml/src/test/java/org/opendaylight/yangtools/yang/data/codec/xml/Yangtools892Test.java [new file with mode: 0644]
yang/yang-data-codec-xml/src/test/resources/yangtools892/bgp-test-extensions.yang [new file with mode: 0644]
yang/yang-data-codec-xml/src/test/resources/yangtools892/neighbour.xml [new file with mode: 0644]
yang/yang-data-codec-xml/src/test/resources/yangtools892/peer-groups.xml [new file with mode: 0644]
yang/yang-data-codec-xml/src/test/resources/yangtools892/test-bgp-multiprotocol.yang [new file with mode: 0644]
yang/yang-data-codec-xml/src/test/resources/yangtools892/test-bgp-types.yang [new file with mode: 0644]
yang/yang-data-codec-xml/src/test/resources/yangtools892/test-bgp.yang [new file with mode: 0644]
yang/yang-data-codec-xml/src/test/resources/yangtools892/test-network-instance.yang [new file with mode: 0644]
yang/yang-data-codec-xml/src/test/resources/yangtools892/test-policy-types.yang [new file with mode: 0644]
yang/yang-data-impl/src/main/java/org/opendaylight/yangtools/yang/data/impl/leafref/LeafRefValidation.java