[CONTROLLER-309] leafref as a type of key in list Created: 11/Apr/14  Updated: 25/Jul/23  Resolved: 15/Apr/14

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

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

Operating System: Windows
Platform: PC


External issue ID: 718

 Description   

when URI contains key of list and this key is leafref type then Restconf returns:
"fooKey from URI can't be resolved. "

yang snippet example:
list fooList {
key "name";

leaf name {
type leafref

{ path "../../pathToLeaf/LeafName"; }

}
}

URI example:
restconf/config/moduleName:fooList/fooKey



 Comments   
Comment by Martin Sunal [ 11/Apr/14 ]

solution - https://git.opendaylight.org/gerrit/#/c/6048/

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