Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

YANG module validation correction #7

Merged
merged 2 commits into from
Jan 14, 2023
Merged

Conversation

bclaise
Copy link
Contributor

@bclaise bclaise commented Jan 13, 2023

The remaining validation issue is not ours.

$ pyang --verbose --ietf ietf-yang-semver.yang

module search path: .:/home/benoit/yang/modules

read ietf-yang-semver.yang (CL)

read ietf-yang-revisions.yang

ietf-yang-semver.yang:53: error: extension "revision-label" is not defined in module ietf-yang-revisions

Please review the added descriptions within the YANG module.

@bclaise
Copy link
Contributor Author

bclaise commented Jan 13, 2023

$ pyang --verbose --ietf ietf-yang-push-revision.yang

module search path: .:/home/benoit/yang/modules

read ietf-yang-push-revision.yang (CL)

read /home/benoit/yang/modules/ietf-subscribed-notifications.yang

read /home/benoit/yang/modules/ietf-inet-types.yang

READ /home/benoit/yang/modules/[email protected]

read /home/benoit/yang/modules/ietf-interfaces.yang

read /home/benoit/yang/modules/ietf-yang-types.yang

read /home/benoit/yang/modules/ietf-netconf-acm.yang

read /home/benoit/yang/modules/ietf-network-instance.yang

read /home/benoit/yang/modules/ietf-ip.yang

READ /home/benoit/yang/modules/[email protected]

read /home/benoit/yang/modules/ietf-yang-schema-mount.yang

read /home/benoit/yang/modules/ietf-restconf.yang

READ /home/benoit/yang/modules/[email protected]

read ietf-yang-revisions.yang

read ietf-yang-semver.yang

ietf-yang-push-revision.yang:118 (at ietf-yang-push-revision.yang:88): error: cannot augment with mandatory node "revision"
benoit@benoit-VirtualBox:~/ietf/opsawg/draft-tgraf-netconf-yang-notifications-versioning/yangs$

And the last issue is a bug in pyang, just filed by Alex. See mbj4668/pyang#840

@graf3net graf3net merged commit 2ab51e6 into network-analytics:main Jan 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants