* Fixed: [State XML validation error when CLICON_MODULE_LIBRARY_RFC7895=true and ietf-yang-libra$
* Removed obsolete option: `CLICON_MODULE_LIBRARY_RFC7895' * Obsolete config options given in the confi file are considered an error * Added section in CONTRIBUTING relating to optimzation * Changed reset merge to implicit default values. * This avoids a potential overwriting of explicitly set default values in the existing config * Adapted some code to [Make cligen_* functions const ](https://github.com/clicon/cligen/pull/83) * Test: fixed test for * Fixed: [datamodel tree generated from basemodel tree is not proper when a list has more than one key and key is of enum type](https://github.com/clicon/clixon/issues/417)
This commit is contained in:
parent
7868cf0a0d
commit
d358387d39
13 changed files with 77 additions and 59 deletions
|
|
@ -48,8 +48,8 @@ module clixon-config {
|
|||
|
||||
revision 2022-12-01 {
|
||||
description
|
||||
"Added option:
|
||||
<nothing yet>
|
||||
"Removed (previosly marked) obsolete options:
|
||||
CLICON_MODULE_LIBRARY_RFC7895
|
||||
Released in Clixon 6.1";
|
||||
}
|
||||
revision 2022-11-01 {
|
||||
|
|
@ -913,8 +913,7 @@ module clixon-config {
|
|||
description
|
||||
"If set, tag datastores with RFC 8525 YANG Module Library
|
||||
info. When loaded at startup, a check is made if the system
|
||||
yang modules match.
|
||||
See also CLICON_MODULE_LIBRARY_RFC7895";
|
||||
yang modules match.";
|
||||
}
|
||||
leaf CLICON_XMLDB_UPGRADE_CHECKOLD {
|
||||
type boolean;
|
||||
|
|
@ -1059,22 +1058,11 @@ module clixon-config {
|
|||
restconf GET.
|
||||
The module state data is on the form:
|
||||
<yang-library><module-set>...
|
||||
If CLICON_MODULE_LIBRARY_RFC7895 is set (as well), the module state uses RFC7895
|
||||
instead where the modile state is on the form:
|
||||
<modules-state>...
|
||||
See also CLICON_XMLDB_MODSTATE where the module state info is used to tag datastores
|
||||
with module information.";
|
||||
}
|
||||
leaf CLICON_MODULE_LIBRARY_RFC7895 {
|
||||
type boolean;
|
||||
default false;
|
||||
description
|
||||
"Enable RFC 7895 YANG Module library support as state data, instead of RFC8525.
|
||||
Note CLICON_YANG_LIBRARY must be enabled for this to have effect.
|
||||
See also CLICON_YANG_LIBRARY and CLICON_MODULE_SET_ID";
|
||||
status obsolete;
|
||||
}
|
||||
|
||||
leaf CLICON_MODULE_SET_ID {
|
||||
type string;
|
||||
default "0";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue