[NETCONF-738] RFC8040 compliance: The server MUST implement the "ietf-yang-library" module Created: 02/Nov/20 Updated: 14/May/21 Resolved: 14/May/21 |
|
| Status: | Resolved |
| Project: | netconf |
| Component/s: | restconf-nb |
| Affects Version/s: | Aluminium |
| Fix Version/s: | Aluminium SR4, 1.13.3 |
| Type: | Bug | Priority: | Medium |
| Reporter: | Valentin Mayamsin | Assignee: | Robert Varga |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
|
||
| Issue Links: |
|
||||||||
| Description |
|
https://tools.ietf.org/html/rfc8040#section-1.3 The server MUST implement the "ietf-yang-library" module, which MUST identify all of the YANG modules used by the server, in the "modules-state/module" list The following query contains modules-state/module list: curl -u admin:admin http://localhost:8181/rests/data However the following queries fail: curl -u admin:admin http://localhost:8181/rests/data/ietf-yang-library:modules-state curl -u admin:admin http://localhost:8181/rests/data/ietf-yang-library:modules-state/module=ietf-yang-library,2019-01-04 |
| Comments |
| Comment by Tomas Cere [ 08/Feb/21 ] |
|
This is caused by the modules-state data being stored under the older revision(2016-06-21) in the datastore and restconf routing requests for /rests/data/ietf-yang-library:modules-state to the newer revision(2019-01-04), should be easily solved by writing the modules-state for the newer version to the datastore. |
| Comment by Robert Varga [ 08/Feb/21 ] |
|
Especially since we have |
| Comment by Robert Varga [ 14/May/21 ] |
|
This is a duplicate of |