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

Why return failure when "deviate delete" a "mandatory" statement ? #2165

Open
lyzliyuzhi91 opened this issue Feb 5, 2024 · 1 comment
Open
Labels
is:question Issue is actually a question.

Comments

@lyzliyuzhi91
Copy link

LOGVAL_PARSER(ctx, LY_VCODE_INDEV, ly_devmod2str(dev_mod), lyplg_ext_stmt2str(kw));

Why success for "must" but failure for "mandatory"/"min-element"/... ?
thanks

@michalvasko
Copy link
Member

In short, because in deviate-delete-stmt there is no mandatory in the YANG ABNF.

@michalvasko michalvasko added the is:question Issue is actually a question. label Feb 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
is:question Issue is actually a question.
Projects
None yet
Development

No branches or pull requests

2 participants