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>
(cherry picked from commit
e4777b6feff804cdcf633c28d4b654b0e885dbd1)