[NETCONF-249] Supported modules retrieval as xml Created: 05/Aug/16  Updated: 15/Mar/19  Resolved: 19/Oct/16

Status: Resolved
Project: netconf
Component/s: restconf-nb
Affects Version/s: None
Fix Version/s: None

Type: Bug
Reporter: Andrej Mak Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


Issue Links:
Blocks
is blocked by NETCONF-180 Milestone: Support of YANG 1.1 for re... Resolved
Duplicate
duplicates NETCONF-180 Milestone: Support of YANG 1.1 for re... Resolved
External issue ID: 6344

 Description   

According to https://tools.ietf.org/html/draft-ietf-netconf-restconf-11#appendix-D.1.2 GET request on /restconf/data/ietf-yang-library:modules should return response from module ietf-yang-library:

<modules xmlns="urn:ietf:params:xml:ns:yang:ietf-yang-library">
...
</modules>

In ODL Restconf when I set Accept header to application/yang.data+xml it returns response from module "ietf-restconf".

<modules xmlns="urn:ietf:params:xml:ns:yang:ietf-restconf">
...
</modules>



 Comments   
Comment by Jakub Toth [ 07/Aug/16 ]

Hi,

yes, it's true. This will supported after support of YANG 1.1 for supporting all modules with this YANG version in restconf including ietf-restconf.

Regards,

Jakub Toth

Generated at Wed Feb 07 20:14:32 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.