You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Reshad (rrahman@cisco.com) reported this issue with the submission tool, while posting draft-ietf-bfd-yang-07.txt
Benoit, I am in the process of submitting. FYI the submission tool check isn’t finding a module which I am adding in rev07 of the draft.
yanglint 0.13.75: yanglint --verbose -p {rfclib} -p {draftlib} -p {tmplib} {model} -i:
err : Data model "ietf-bfd-types" not found.
err : Importing "ietf-bfd-types" module into "ietf-bfd-mpls" failed.
err : Module "ietf-bfd-mpls" parsing failed.
What I think the issue is (we faced the same on yangvalidator.org):
Typically iana-bfd-types@2017-10-30.yang would be imported by other YANG modules.
So, while looping through the validation of each of the YANG modules, the other YANG modules should be in the path, ready to be imported.
Included the path for draft moduled found invalid in the module paths when running yanglint, in order to avoid some unhelpful model not found messages. Fixes issue #2398.
resolution_fixed
type_defect
| by bclaise@cisco.comReshad (rrahman@cisco.com) reported this issue with the submission tool, while posting draft-ietf-bfd-yang-07.txt
What I think the issue is (we faced the same on yangvalidator.org):
draft-ietf-bfd-yang-07.txt contains multiple YANG modules.
From http://www.claise.be/IETFYANGPageCompilation.html, we can see:
Typically iana-bfd-types@2017-10-30.yang would be imported by other YANG modules.
So, while looping through the validation of each of the YANG modules, the other YANG modules should be in the path, ready to be imported.
https://datatracker.ietf.org/doc/draft-ietf-bfd-yang/ doesn't exhibit this issue as this is a cronjob, which extracts all YANG modules before validating them.
Regards, Benoit
Issue migrated from trac:2398 at 2022-03-04 05:59:41 +0000
The text was updated successfully, but these errors were encountered: