[CONTROLLER-1430] Restconf api document explorer return wrong path for mounted services// Created: 20/Oct/15 Updated: 19/Oct/17 Resolved: 29/Oct/15 |
|
| Status: | Resolved |
| Project: | controller |
| Component/s: | mdsal |
| Affects Version/s: | Lithium |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | zhaohaiping | Assignee: | Unassigned |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: All |
||
| Attachments: |
|
| External issue ID: | 4497 |
| Description |
|
After adding a netconf device "Leaf1" through netconf connector, from apidoc we got this result for mounted points: opendaylight-inventory:nodes/node/node/Leaf1/ we can see there is extra topology/node in the path.and we can't use apis from the mounted point to access the device. we read the code in MountPointSwagger.java and fix the bug,the bug code is in generateUrlPrefixFromInstanceID method, Please see the fixcode from attatchment. Thanks |
| Comments |
| Comment by zhaohaiping [ 20/Oct/15 ] |
|
Attachment MountPointSwagger.java has been added with description: fixed code for MountPointSwagger.java |
| Comment by Tony Tkacik [ 20/Oct/15 ] |
|
Please submit patch to Gerrit (git.opendaylight.org) with bug number in commit message, instead of attachment in bugzilla. Thanks |
| Comment by zhaohaiping [ 29/Oct/15 ] |
|
this bug is found in release lithium-sr1, it has been fixed in release lithium-sr2. so this bug can be closed. Thanks |