Hi,
Using yanglint, when I try to validate the example in Appendix C of RFC8525, I 
get the following error:
> data /home/xyz/YANG/example-yang-library.xml

libyang[0]: Mandatory node "module-set-id" instance does not exist. (path: Data 
location "/ietf-yang-library:modules-state".)

YANGLINT[E]: Failed to parse input data file 
"/home/xyz/YANG/example-yang-library.xml".
>
My understanding is that yanglint is behaving correctly (no presence-stmt in 
the modules-state container), but would like confirmation.
If yes, is that worth an errata on RFC8525?
Regards,Reshad.
  container modules-state {
       config false;
       status deprecated;
       description
         "Contains YANG module monitoring information.";
       leaf module-set-id {
         type string;
         mandatory true;
         status deprecated;
         description
           "Contains a server-specific identifier representing
            the current set of modules and submodules.  The
            server MUST change the value of this leaf if the
            information represented by the 'module' list instances
            has changed.";
       }
       uses module-list {
         status deprecated;
       }
     }
_______________________________________________
netmod mailing list -- netmod@ietf.org
To unsubscribe send an email to netmod-le...@ietf.org

Reply via email to