[CONTROLLER-809] Feature Install ODL-RESTCONF does not install ietf-restconf model Created: 11/Sep/14  Updated: 22/Sep/14  Resolved: 22/Sep/14

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

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

Operating System: Mac OS
Platform: PC


External issue ID: 1817

 Description   

When you install just the odl-restconf feature you are not able to access /modules or /streams or /operations etc because the ietf-restconf yang file can not be found. THis is because we don't ship the ietf-restconf bundle as part of the odl-restconf feature or dependent feature.

Fix: we need to make sure that the ietf-restconf bundle is installed when the odl-restconf feature is installed.

To reproduce:

Start a clean karaf distro in which you have access to the odl-feature feature (controller distro should work).

Do a "feature:install odl-restconf"
Try to go to localhost:8181/modules or localhost:8181/operations - you get an error about a missing module.



 Comments   
Comment by Devin Avery [ 11/Sep/14 ]

https://git.opendaylight.org/gerrit/11063 for yangtools part of fix
https://git.opendaylight.org/gerrit/11065 for controller part of fix

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