Closed zaker139 closed 2 years ago
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
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'.
Can you use a wildchar? Eg openconfig*. Otherwise we could have a look at introducing an exclude rule as well
Is this the same issue as https://github.com/clicon/clixon/issues/318 ? That is, if clixon-restconf.yang is not loaded, it will be excluded from the autocli as well.
https://github.com/clicon/clixon/blob/cee735e586b8899bbce0203ee782fa08a8600e63/yang/clixon/clixon-config%402022-02-11.yang#L76
Exclude is not defined in clixon-autocli.yang.