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:
parent
d48442960e
commit
f526d5b7a0
14 changed files with 668 additions and 64 deletions
|
|
@ -44,6 +44,7 @@ module clixon-autocli{
|
|||
revision 2023-05-01 {
|
||||
description
|
||||
"Added extensions skip and alias
|
||||
Added grouping-treeref
|
||||
Released in Clixon 6.3";
|
||||
}
|
||||
revision 2022-02-11 {
|
||||
|
|
@ -199,6 +200,21 @@ module clixon-autocli{
|
|||
type boolean;
|
||||
default true;
|
||||
}
|
||||
leaf grouping-treeref {
|
||||
description
|
||||
"Controls the behaviour when generating CLISPEC of YANG 'uses' statements into the
|
||||
corresponding 'grouping' definition: macro expansion.
|
||||
For optimization of memory footprint.
|
||||
If 'false', replace the uses definition with the grouping definition.
|
||||
If 'true' use indirect tree reference '@treeref' to reference the grouping definition. This
|
||||
saves memory for large YANGs.
|
||||
|
||||
See also AUTOCLI_GROUPING_TOPLEVEL_SKIP and AUTOCLI_GROUPING_AUGMENT_SKIP for
|
||||
temporary disabled cornercases.
|
||||
This option was introduced in Clixon 6.3";
|
||||
type boolean;
|
||||
default false;
|
||||
}
|
||||
/* rules */
|
||||
list rule {
|
||||
description
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue