[CONTROLLER-63] Ref types when returned in RESTCONF should be in form of relative path Created: 25/Nov/13  Updated: 25/Jul/23  Resolved: 10/Dec/13

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

Type: Improvement
Reporter: Ed Warnicke Assignee: Unassigned
Resolution: Won't Do Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: Mac OS
Platform: PC



 Description   

So rather than:

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<flows
xmlns="urn:opendaylight:flow:config">
<flow>
<node>/(urn:opendaylight:inventory?revision=2013-08-19)nodes/(urn:opendaylight:inventory?revision=2013-08-19)node[

{(urn:opendaylight:inventory?revision=2013-08-19)id=foo:node:1}

]</node>
<priority>2</priority>
<id>123</id>
<match/>
</flow>
</flows>

The <node /> should instead have something like

restconf/datastore/opendaylight-inventory:nodes/node/foo:node:1



 Comments   
Comment by Tony Tkacik [ 10/Dec/13 ]

Encoding of instance identifiers inside payload is not connected to encoding
instance identifiers in URI, since payload needs to be valid also on netconf level.

Comment by Tony Tkacik [ 10/Dec/13 ]

We could introduce extension to this, but needs to be well-designed to not break behaviour expected by RESTCONF.

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