[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 |
||
| Issue Links: |
|
||||||||||||||||
| 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"> 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"> |
| 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 |