resolution_fixed type_defect | by bclaise@cisco.com
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):
draft-ietf-bfd-yang-07.txt contains multiple YANG modules.
From http://www.claise.be/IETFYANGPageCompilation.html, we can see:
ietf-bfd@2017-10-30.yang
iana-bfd-types@2017-10-30.yang <======
ietf-bfd-ip-mh@2017-10-30.yang
ietf-bfd-ip-sh@2017-10-30.yang
ietf-bfd-lag@2017-10-30.yang
ietf-bfd-mpls-te@2017-10-30.yang
ietf-bfd-mpls@2017-10-30.yang
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
resolution_fixedtype_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