Add new clixon-config.yang with CLICON_NETCONF_WITHDEFAULTS_REPORTALL
This commit is contained in:
parent
0577d2a2e9
commit
407860ccc7
3 changed files with 41 additions and 2 deletions
|
|
@ -42,7 +42,7 @@ datarootdir = @datarootdir@
|
||||||
YANG_INSTALLDIR = @YANG_INSTALLDIR@
|
YANG_INSTALLDIR = @YANG_INSTALLDIR@
|
||||||
|
|
||||||
# Note: mirror these to test/config.sh.in
|
# Note: mirror these to test/config.sh.in
|
||||||
YANGSPECS = clixon-config@2022-11-01.yang # 6.0
|
YANGSPECS = clixon-config@2022-12-01.yang # 6.1
|
||||||
YANGSPECS += clixon-lib@2021-12-05.yang # 5.5
|
YANGSPECS += clixon-lib@2021-12-05.yang # 5.5
|
||||||
YANGSPECS += clixon-rfc5277@2008-07-01.yang
|
YANGSPECS += clixon-rfc5277@2008-07-01.yang
|
||||||
YANGSPECS += clixon-xml-changelog@2019-03-21.yang
|
YANGSPECS += clixon-xml-changelog@2019-03-21.yang
|
||||||
|
|
|
||||||
|
|
@ -51,7 +51,7 @@ module clixon-config {
|
||||||
"Added option:
|
"Added option:
|
||||||
CLICON_NETCONF_MONITORING
|
CLICON_NETCONF_MONITORING
|
||||||
CLICON_NETCONF_MONITORING_LOCATION
|
CLICON_NETCONF_MONITORING_LOCATION
|
||||||
Released in Clixon 6.1";
|
Released in Clixon 6.0";
|
||||||
}
|
}
|
||||||
revision 2022-03-21 {
|
revision 2022-03-21 {
|
||||||
description
|
description
|
||||||
|
|
|
||||||
|
|
@ -46,6 +46,19 @@ module clixon-config {
|
||||||
|
|
||||||
***** END LICENSE BLOCK *****";
|
***** END LICENSE BLOCK *****";
|
||||||
|
|
||||||
|
revision 2022-12-01 {
|
||||||
|
description
|
||||||
|
"Added option:
|
||||||
|
CLICON_NETCONF_WITHDEFAULTS_REPORTALL
|
||||||
|
Released in Clixon 6.1";
|
||||||
|
}
|
||||||
|
revision 2022-11-01 {
|
||||||
|
description
|
||||||
|
"Added option:
|
||||||
|
CLICON_NETCONF_MONITORING
|
||||||
|
CLICON_NETCONF_MONITORING_LOCATION
|
||||||
|
Released in Clixon 6.0";
|
||||||
|
}
|
||||||
revision 2022-03-21 {
|
revision 2022-03-21 {
|
||||||
description
|
description
|
||||||
"Added option:
|
"Added option:
|
||||||
|
|
@ -537,6 +550,16 @@ module clixon-config {
|
||||||
RFC6242 for example.
|
RFC6242 for example.
|
||||||
This only applies to the external NETCONF";
|
This only applies to the external NETCONF";
|
||||||
}
|
}
|
||||||
|
leaf CLICON_NETCONF_WITHDEFAULTS_REPORTALL{
|
||||||
|
type boolean;
|
||||||
|
default "false";
|
||||||
|
description
|
||||||
|
"This option controls the basic mode retrieval defined in:
|
||||||
|
RFC 6243: With-defaults Capability for NETCONF
|
||||||
|
NETCONF with-defaults basic mode retrieval is set as follows:
|
||||||
|
If false, set to explicit (this is default)
|
||||||
|
If true, set to report-all (this is backward-compatible)";
|
||||||
|
}
|
||||||
leaf CLICON_RESTCONF_API_ROOT {
|
leaf CLICON_RESTCONF_API_ROOT {
|
||||||
type string;
|
type string;
|
||||||
default "/restconf";
|
default "/restconf";
|
||||||
|
|
@ -1061,6 +1084,7 @@ module clixon-config {
|
||||||
See also CLICON_YANG_LIBRARY and CLICON_MODULE_SET_ID";
|
See also CLICON_YANG_LIBRARY and CLICON_MODULE_SET_ID";
|
||||||
status obsolete;
|
status obsolete;
|
||||||
}
|
}
|
||||||
|
|
||||||
leaf CLICON_MODULE_SET_ID {
|
leaf CLICON_MODULE_SET_ID {
|
||||||
type string;
|
type string;
|
||||||
default "0";
|
default "0";
|
||||||
|
|
@ -1073,6 +1097,21 @@ module clixon-config {
|
||||||
If CLICON_MODULE_LIBRARY_RFC7895 is enabled, it sets the modules-state/module-set-id
|
If CLICON_MODULE_LIBRARY_RFC7895 is enabled, it sets the modules-state/module-set-id
|
||||||
instead";
|
instead";
|
||||||
}
|
}
|
||||||
|
leaf CLICON_NETCONF_MONITORING {
|
||||||
|
type boolean;
|
||||||
|
default true;
|
||||||
|
description
|
||||||
|
"Enable Netconf monitoring support as state data according to RFC6022.
|
||||||
|
If enabled, netconf monitoring info will appear when doing netconf get or
|
||||||
|
restconf GET.";
|
||||||
|
}
|
||||||
|
leaf CLICON_NETCONF_MONITORING_LOCATION {
|
||||||
|
type string;
|
||||||
|
description
|
||||||
|
"Extra Netconf monitoring location directory where schemas can be retrieved
|
||||||
|
apart from NETCONF.
|
||||||
|
Only if CLICON_NETCONF_MONITORING";
|
||||||
|
}
|
||||||
leaf CLICON_STREAM_DISCOVERY_RFC5277 {
|
leaf CLICON_STREAM_DISCOVERY_RFC5277 {
|
||||||
type boolean;
|
type boolean;
|
||||||
default false;
|
default false;
|
||||||
Loading…
Add table
Add a link
Reference in a new issue