Consider AugmentationNodes when direct descendant is not found 90/75190/34
authorMarek Gradzki <mgradzki@cisco.com>
Tue, 14 Aug 2018 08:05:37 +0000 (10:05 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Mon, 10 Sep 2018 15:51:33 +0000 (17:51 +0200)
commite4777b6feff804cdcf633c28d4b654b0e885dbd1
treed1b025c350f3c84179b32433a140f28e34de53e6
parent5ee220f29566611e47ecd79e048587e846ba2bf6
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