Autocli optimization feature for generating smaller CLISPECs for large YANGs using treerefs

New `grouping-treeref` option added to clixon-autocli.yang
Default is disabled, set to true to generate smaller memory footprint of clixon_cl
Add prefix "mtpoint:" to cli api-paths to identify change of yang schemas
This commit is contained in:
Olof hagsand 2023-07-23 15:11:34 +02:00
parent d48442960e
commit f526d5b7a0
14 changed files with 668 additions and 64 deletions

View file

@ -156,3 +156,17 @@
* Consider moving to configure.ac(compile-time) or to clixon-config.yang(run-time)
*/
#define PRETTYPRINT_INDENT 3
/*! Autocli uses/grouping references for top-level
* Exception of expand-grouping in clixon-autocli.yang
* If enabled do not expand-grouping if a yang uses is directly under module or submodule
* Disabled does not work today and is temporary and for documentation
*/
#define AUTOCLI_GROUPING_TOPLEVEL_SKIP
/*! Autocli uses/grouping references for augment/uses
* Exception of expand-grouping in clixon-autocli.yang
* If enabled do not expand-grouping if a yang uses is directly under augment
* Disabled does not work today and is temporary and for documentation
*/
#define AUTOCLI_GROUPING_AUGMENT_SKIP