[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:
  • ODL aluminum
  • feature:install odl-restconf-nb-rfc8040
  • feature:install odl-toaster

Issue Links:
Duplicate
duplicates NETCONF-725 ietf-yang-library version conflict Resolved

 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 MDSAL-596 available

Comment by Robert Varga [ 14/May/21 ]

This is a duplicate of NETCONF-725.

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