Optimization of yang schema mount: share yang-specs if equal
This commit is contained in:
parent
4b33841858
commit
37e9429ec8
5 changed files with 207 additions and 23 deletions
|
|
@ -52,11 +52,12 @@ module clixon-config {
|
|||
revision 2024-04-01 {
|
||||
description
|
||||
"Added options:
|
||||
CLICON_SOCK_PRIO: Enable socket event priority
|
||||
CLICON_XMLDB_MULTI: Split datastore into multiple sub files
|
||||
CLICON_NETCONF_DUPLICATE_ALLOW: Disable duplicate check in NETCONF messages.
|
||||
CLICON_CLI_OUTPUT_FORMAT: Default CLI output format
|
||||
CLICON_AUTOLOCK: Implicit locks
|
||||
CLICON_YANG_SCHEMA_MOUNT_SHARE: Share same YANGs of equal moint-points.
|
||||
CLICON_SOCK_PRIO: Enable socket event priority
|
||||
CLICON_XMLDB_MULTI: Split datastore into multiple sub files
|
||||
CLICON_NETCONF_DUPLICATE_ALLOW: Disable duplicate check in NETCONF messages.
|
||||
CLICON_CLI_OUTPUT_FORMAT: Default CLI output format
|
||||
CLICON_AUTOLOCK: Implicit locks
|
||||
Released in Clixon 7.1";
|
||||
}
|
||||
revision 2024-01-01 {
|
||||
|
|
@ -556,6 +557,17 @@ module clixon-config {
|
|||
Further, autocli syntax is added by definining a tree resolve wrapper";
|
||||
default false;
|
||||
}
|
||||
leaf CLICON_YANG_SCHEMA_MOUNT_SHARE {
|
||||
type boolean;
|
||||
description
|
||||
"For optimization purposes, share same YANGs of equal moint-points.
|
||||
The mount-points need to be 'equal' in the sense that it has the same YANG
|
||||
(yangmnt:mount-point is on same node).
|
||||
A comparison is made between yang modules and revision and must match exactly.
|
||||
If so, a new yang-spec is not created, instead the other is used.
|
||||
Only if CLICON_YANG_SCHEMA_MOUNT is enabled";
|
||||
default false;
|
||||
}
|
||||
leaf CLICON_BACKEND_REGEXP {
|
||||
type string;
|
||||
description
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue