Replaced compile-time with CLICON_YANG_USE_ORIGINAL
Use original yang object in grouping/augment
This commit is contained in:
parent
45e744d6eb
commit
1994a405dd
4 changed files with 27 additions and 18 deletions
|
|
@ -53,6 +53,7 @@ module clixon-config {
|
|||
description
|
||||
"Added options:
|
||||
CLICON_YANG_DOMAIN_DIR
|
||||
CLICON_YANG_USE_ORIGINAL
|
||||
Deprecated:
|
||||
CLICON_YANG_SCHEMA_MOUNT_SHARE
|
||||
Released in Clixon 7.2";
|
||||
|
|
@ -645,6 +646,17 @@ module clixon-config {
|
|||
See also CLICON_XMLDB_MODSTATE where the module state info is used to tag datastores
|
||||
with module information.";
|
||||
}
|
||||
leaf CLICON_YANG_USE_ORIGINAL{
|
||||
type boolean;
|
||||
default false;
|
||||
description
|
||||
"YANG memory optimization.
|
||||
If set, for a selected set of YANG nodes, (see uses_orig_ptr()):
|
||||
For augmented and grouping/uses, use original YANG node instead of the derived node.
|
||||
This is safe if all content of derived node is not changed (eg read-only).
|
||||
It is not safe if the derived node is in some way different than the original node.
|
||||
";
|
||||
}
|
||||
/* Backend */
|
||||
leaf CLICON_BACKEND_DIR {
|
||||
type string;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue