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

Autocli: error when empty YANG group and grouping-treeref=true #579

Closed
olofhagsand opened this issue Nov 25, 2024 · 1 comment
Closed

Autocli: error when empty YANG group and grouping-treeref=true #579

olofhagsand opened this issue Nov 25, 2024 · 1 comment

Comments

@olofhagsand
Copy link
Member

If autocli.xml contains:

  <grouping-treeref>true</grouping-treeref>

and a YANG group is empty, or more specifically does not contain any configuration statements, then the CLI exits with:

CLIgen tree 'grouping--default--0--ietf-crypto-types--generate-csr-grouping' not found
@olofhagsand
Copy link
Member Author

Example:

grouping pg5 {
    description "Empty, see https://github.com/clicon/clixon/issues/579";  
    action reset;
 }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant