[NETCONF-382] Restconf fails to deserialize URL if identityref from external module is present Created: 24/Mar/17  Updated: 15/Mar/19  Resolved: 15/May/17

Status: Resolved
Project: netconf
Component/s: restconf-nb
Affects Version/s: None
Fix Version/s: None

Type: Bug
Reporter: Marek Gradzki Assignee: Unassigned
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


External issue ID: 8072

 Description   

Restconf is using global schema context to deserialize external identityrefs.

For urls such as

http://localhost:8181/restconf/config/network-topology:network-topology/topology/topology-netconf/node/vpp/yang-ext:mount/ietf-access-control-list:access-lists/acl/vpp-acl:vpp-macip-acl/macip

where vpp-acl and dhcp are external modules, restconf fails with message:

vpp-acl:vpp-macip-acl from URI can't be resolved. For key which is of type identityref it should be in format module_name:identity_name.

Using schema context provided by mount point, fixes the issue.



 Comments   
Comment by Marek Gradzki [ 24/Mar/17 ]

fix:
https://git.opendaylight.org/gerrit/#/c/53788/

Comment by Marek Gradzki [ 24/Mar/17 ]

stable/boron:

https://git.opendaylight.org/gerrit/#/c/53789/

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