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/exclude logic not implemented #316

Closed
zaker139 opened this issue Mar 18, 2022 · 4 comments
Closed

autocli/exclude logic not implemented #316

zaker139 opened this issue Mar 18, 2022 · 4 comments
Labels

Comments

@zaker139
Copy link

CLICON_CLI_AUTOCLI_EXCLUDE (use autocli/exclude logic instead)

Exclude is not defined in clixon-autocli.yang.

@olofhagsand
Copy link
Member

This API is changed to a more flexible exclude logic as described here:
https://clixon-docs.readthedocs.io/en/latest/cli.html#upgrade-from-pre-clixon-5-5
and specifically for exclude here:
https://clixon-docs.readthedocs.io/en/latest/cli.html#module-enable-rules

@zaker139
Copy link
Author

It's a little awesome, when most of modules should be included, but one should be excluded. I must list all modules in 'enable rules'.

@olofhagsand
Copy link
Member

Can you use a wildchar? Eg openconfig*.
Otherwise we could have a look at introducing an exclude rule as well

@olofhagsand
Copy link
Member

Is this the same issue as #318 ?
That is, if clixon-restconf.yang is not loaded, it will be excluded from the autocli as well.

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

No branches or pull requests

2 participants