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

dummy example module for examples #53

Merged
merged 6 commits into from
Oct 9, 2024
Merged

dummy example module for examples #53

merged 6 commits into from
Oct 9, 2024

Conversation

boucadair
Copy link
Collaborator

No description provided.

@boucadair boucadair linked an issue Oct 9, 2024 that may be closed by this pull request
Copy link
Collaborator

@QiufangMa QiufangMa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks Med! ! I was making very similar changes locally, but the validation failed when I tested the generic-schedule-params grouping use, the error message was:
libyang err : Mandatory node "period-start" instance does not exist. (Schema location "/example-schedule-use:period-of-time/period-start", line number 8.)

@QiufangMa
Copy link
Collaborator

Thanks Med! ! I was making very similar changes locally, but the validation failed when I tested the generic-schedule-params grouping use, the error message was: libyang err : Mandatory node "period-start" instance does not exist. (Schema location "/example-schedule-use:period-of-time/period-start", line number 8.)

Easy fix is to remove the mandatory true statement in the ietf-schedule-yang module. Otherwise use each grouping in separate example modules.

boucadair and others added 3 commits October 9, 2024 12:56
Co-authored-by: Qiufang Ma <72798386+QiufangMa@users.noreply.github.com>
@boucadair
Copy link
Collaborator Author

Thanks Med! ! I was making very similar changes locally, but the validation failed when I tested the generic-schedule-params grouping use, the error message was: libyang err : Mandatory node "period-start" instance does not exist. (Schema location "/example-schedule-use:period-of-time/period-start", line number 8.)

Easy fix is to remove the mandatory true statement in the ietf-schedule-yang module. Otherwise use each grouping in separate example modules.

Went with separate modules.

@boucadair boucadair merged commit c7f7a10 into main Oct 9, 2024
3 checks passed
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.

update grouping examples so that they can be validated
2 participants