Bug 5437: Issue accessing mounted device supporting OpenConfig BGP. 01/35601/1
authorPeter Kajsa <pkajsa@cisco.com>
Tue, 1 Mar 2016 09:52:16 +0000 (10:52 +0100)
committerPeter Kajsa <pkajsa@cisco.com>
Wed, 2 Mar 2016 07:28:27 +0000 (08:28 +0100)
commit4ad3612cb95e3aa811ddd5d1aa76bc93052bf7cd
tree3f4f64f87071ca6531d257345abaae00bdaa1ae8
parentdc6156c3cc37f1b9acf68cbc69d59423bf1791eb
Bug 5437: Issue accessing mounted device supporting OpenConfig BGP.

Yangtools evaluated a relative path of leafref in the incorrect context.
Relative path of leafref should be evaluated in the final context of leafref node.

Signed-off-by: Peter Kajsa <pkajsa@cisco.com>
Change-Id: I24821d1b12d4456058e0ec1049542972fe29b903
yang/yang-model-util/src/main/java/org/opendaylight/yangtools/yang/model/util/SchemaContextUtil.java
yang/yang-parser-impl/src/test/java/org/opendaylight/yangtools/yang/stmt/test/Bug5437.java [new file with mode: 0644]
yang/yang-parser-impl/src/test/resources/bugs/bug5437/foo.yang [new file with mode: 0644]