We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
min-elements attribute in a list will cause commits to fail when deleting entries, even if enough entries still exist to satisfy the requirement.
consider this simplified Yang model snippet:
list people{ key name; leaf name{ type string; } min-elements 1; }
running the following sequence of commands will fail: set people name alice set people name bob commit delete people name bob commit <- will fail
The text was updated successfully, but these errors were encountered:
Fixed: [min-elements attribute prevents from deleting list entries #133…
a61da87
…](#133)
Fixed by patch ^ Please verify.
Sorry, something went wrong.
No branches or pull requests
problem
min-elements attribute in a list will cause commits to fail when deleting entries, even if enough entries still exist to satisfy the requirement.
example
consider this simplified Yang model snippet:
running the following sequence of commands will fail:
set people name alice
set people name bob
commit
delete people name bob
commit <- will fail
The text was updated successfully, but these errors were encountered: