[CONTROLLER-127] refs should be URLs Created: 22/Jan/14 Updated: 25/Jul/23 Resolved: 30/Jan/14 |
|
| Status: | Resolved |
| Project: | controller |
| Component/s: | restconf |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | Ed Warnicke | Assignee: | Unassigned |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: Mac OS |
||
| External issue ID: | 339 |
| Priority: | High |
| Description |
|
Currently refs are serialized in a form like: xmlns="urn:opendaylight:model:topology:inventory">/(urn:opendaylight:inventory?revision=2013-08-19)nodes/(urn:opendaylight:inventory?revision=2013-08-19)node[ {(urn:opendaylight:inventory?revision=2013-08-19)id=openflow:2}] Which is next to useless to the caller. They should be serialized as URLs that point to the referenced entity so they can be used by the caller to retrieve the referenced node. |
| Comments |
| Comment by Ed Warnicke [ 23/Jan/14 ] |
|
This can be seen with URL: http://localhost:18080/restconf/operational/network-topology:network-topology/topology/flow:1 When running sudo mn --topo tree,2 --controller remote,ip=127.0.0.1:6653 --switch ovsk,protocols=OpenFlow13 |
| Comment by Ed Warnicke [ 23/Jan/14 ] |
|
Example part of the model: augment "/topo:network-topology/topo:topology/topo:node" { } From module opendaylight-topology-inventory { |
| Comment by Martin Sunal [ 30/Jan/14 ] |
|
fixed in https://git.opendaylight.org/gerrit/#/c/4976/ |