Skip to content

Multiple YANG modules from the same draft: submission failed #2324

Description

@ietf-svn-bot

owner:henrik@levkowetz.com resolution_fixed type_defect | by bclaise@cisco.com


Hi,

FROM RFC SUBMIT PROCESS

The yang validation returned 23 errors and 0 warnings; click the button below to see details. Please fix those, and resubmit.

Yang Validation for draft-ietf-netconf-ssh-client-server-04


draft-ietf-netconf-ssh-client-server-04.txt:
xym 0.3.2:
Extracting 'ietf-ssh-client@2017-06-28.yang'
Extracting 'ietf-ssh-server@2017-06-28.yang'
Extracting 'ietf-ssh-common@2017-06-28.yang'


ietf-ssh-client@2017-06-28.yang:
pyang 1.7.2: pyang --verbose --ietf -p {libs} {model}:
/a/www/ietf-ftp/yang/draftmod/ietf-netconf-acm@2017-05-29.yang:1: error: unexpected latest revision "2017-06-27" in /a/www/ietf-ftp/yang/draftmod/ietf-netconf-acm@2017-05-29.yang, should be 2017-05-29
/a/www/ietf-ftp/yang/draftmod/ietf-netconf-acm@2017-05-29.yang:1: error: unexpected latest revision "2017-06-27" in /a/www/ietf-ftp/yang/draftmod/ietf-netconf-acm@2017-05-29.yang, should be 2017-05-29

yanglint 0.12.183: yanglint --verbose -p {rfclib} -p {draftlib} {model}:
err : Data model "ietf-ssh-common" not found.
err : Importing "ietf-ssh-common" module into "ietf-ssh-client" failed.
err : Module "ietf-ssh-client" parsing failed.


ietf-ssh-server@2017-06-28.yang:
pyang 1.7.2: pyang --verbose --ietf -p {libs} {model}:
/a/www/ietf-ftp/yang/draftmod/ietf-netconf-acm@2017-05-29.yang:1: error: unexpected latest revision "2017-06-27" in /a/www/ietf-ftp/yang/draftmod/ietf-netconf-acm@2017-05-29.yang, should be 2017-05-29

yanglint 0.12.183: yanglint --verbose -p {rfclib} -p {draftlib} {model}:
err : Data model "ietf-ssh-common" not found.
err : Importing "ietf-ssh-common" module into "ietf-ssh-server" failed.
err : Module "ietf-ssh-server" parsing failed.


ietf-ssh-common@2017-06-28.yang:
pyang 1.7.2: pyang --verbose --ietf -p {libs} {model}:
No validation errors

yanglint 0.12.183: yanglint --verbose -p {rfclib} -p {draftlib} {model}:
No validation errors

Kent Watsen (kwatsen@juniper.net) message:

Notice in the output-log below the error:
err : Data model "ietf-ssh-common" not found.

This happens twice, so validation of two modules fails. The ietf-ssh-common module is defined in the same draft, why isn't it being found? Especially note that the log shows that the script extracted the ietf-ssh-common module, which makes this doubly mysterious...


Issue migrated from trac:2324 at 2022-03-04 05:54:11 +0000

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions