Sorry, adding links. > Hello, > I wanted to implement this RFC [1] but I have great difficulty understanding > how exactly it should work so I would like to ask for some clarification. > > As for the ietf-yang-library data, they are mentioned several times but I > could find no details as to how exactly they should look like. There is an > example [2], which has only 'ietf-yang-library:modules-state' data tree that > is deprecated. Am I to understand that is what is expected? > > Another thing, there are 3 ways mentioned [3] as to when to specify the > schema (YANG modules) for the mounted data and that only 2nd and 3rd are > covered in the RFC. However, I was not able to find anything more about the > 2nd option (implementation-time) and think that everything concerns only the > 3rd option (run-time). > > Lastly, I was also looking at another RFC [4] and its examples. There I could > see 'ietf-yang-library:yang-library' data tree instead meaning every > 'module-set' and corresponding 'schema' need to be referenced by some > 'datastore'. The consequence would be that one must know the datastore of the > data before they can be parsed, is that right? Moreover, for parsing one > would also need the 'ietf-yang-schema-mount:schema-mounts' data (which are > found in the operation data in the example) but where should the > NETCONF/RESTCONF server (for instance) get them? > > Thanks for any clarification. > > Regards, > Michal
[1] https://datatracker.ietf.org/doc/html/rfc8528 [2] https://datatracker.ietf.org/doc/html/rfc8528#appendix-A.2 [3] https://datatracker.ietf.org/doc/html/rfc8528#page-5 [4] https://datatracker.ietf.org/doc/html/rfc8529#appendix-A.3 > _______________________________________________ > netmod mailing list > [email protected] > https://www.ietf.org/mailman/listinfo/netmod _______________________________________________ netmod mailing list [email protected] https://www.ietf.org/mailman/listinfo/netmod
