[CONTROLLER-987] Wrong handling of leaf-ref leaves that are pointing to an identity-ref Created: 04/Nov/14  Updated: 20/Nov/14  Resolved: 20/Nov/14

Status: Resolved
Project: controller
Component/s: restconf
Affects Version/s: Helium
Fix Version/s: None

Type: Bug
Reporter: Maros Marsalek Assignee: Maros Marsalek
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


Issue Links:
Blocks
is blocked by YANGTOOLS-299 Fail to find codec for type ...)leafref Resolved
External issue ID: 2304

 Description   

If there is a leaf of type leafref and is pointing to a leaf with identity-ref type. It is not parsed correctly in restconf, since the prefix is ignored.

This prevents the reconfiguration and spawning of config modules via Restconf according to e.g. https://wiki.opendaylight.org/view/OpenDaylight_Controller:Config:Examples:Netconf#Spawning_Additional_Netconf_Connectors_While_the_Controller_is_Running



 Comments   
Comment by Maros Marsalek [ 06/Nov/14 ]

Fixes:

https://git.opendaylight.org/gerrit/#/c/12518/
https://git.opendaylight.org/gerrit/#/c/12524/

Comment by Maros Marsalek [ 11/Nov/14 ]

Still in progress as the utility methods in SchemaContextUtil in yangtools project do not work reliably.

Comment by Maros Marsalek [ 12/Nov/14 ]

https://git.opendaylight.org/gerrit/#/c/12785/
https://git.opendaylight.org/gerrit/#/c/12524/

Generated at Wed Feb 07 19:54:23 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.