[CONTROLLER-211] List mounted yang modules Created: 11/Mar/14  Updated: 25/Jul/23  Resolved: 15/Jul/14

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

Type: Improvement
Reporter: Wojciech Dec Assignee: Unassigned
Resolution: Cannot Reproduce Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: Mac OS
Platform: PC


Issue Links:
Blocks
is blocked by CONTROLLER-317 NETCONF client fails to detect commit... Resolved

 Description   

Restconf + MD-SAL should have the capability to allow a user to show the list of yang modules loaded and active from/for a given device. This would be roughly equivalent to what can be seen at the exchange of the Netconf capabilities.

Eg GET http://odl/restconf/config/opendaylight-inventory:nodes/node/router1

Would return a list of the mounted Yang modules.



 Comments   
Comment by Kamal Rameshan [ 29/Apr/14 ]

As part of the session creation, the controller is not able to get the Yang schema sources for the modules listed in the capabilities. Its failing while it fires an get-schema rpc.

Exceptions are:

DefaultChannelPromise@61003290(failure(ch.ethz.ssh2.channel.ChannelClosedException: SSH channel is closed. (Close requested by remote))

Dependent on CONTROLLER-317 hence blocked.

Comment by Tony Tkacik [ 15/Jul/14 ]

Please consult http://odl/restconf/operational/opendaylight-inventory:nodes/node/router1

which contains list of initial capabilities and current capabilities (mounted ones).

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