* Clixon configuration file top-level symbols has changed to clixon-configand namespace check is enforced.
* clixon-config YAML file has new revision: 2019-03-05. * New URN and changed top-level symbol to `clixon-config` * Removed obsolete `_CLICON_XML_NS_STRICT` variable and `CLICON_XML_NS_STRICT` config option.
This commit is contained in:
parent
4b17af0278
commit
98fb6eceef
50 changed files with 167 additions and 211 deletions
|
|
@ -40,7 +40,7 @@ datarootdir = @datarootdir@
|
|||
|
||||
CLIXON_DATADIR = @CLIXON_DATADIR@
|
||||
|
||||
YANGSPECS = clixon-config@2019-02-06.yang
|
||||
YANGSPECS = clixon-config@2019-03-05.yang
|
||||
YANGSPECS += clixon-lib@2019-01-02.yang
|
||||
YANGSPECS += clixon-rfc5277@2008-07-01.yang
|
||||
|
||||
|
|
|
|||
|
|
@ -39,6 +39,11 @@ module clixon-config {
|
|||
|
||||
***** END LICENSE BLOCK *****";
|
||||
|
||||
revision 2019-03-05 {
|
||||
description
|
||||
"Changed URN. Changed top-level symbol to clixon-config.
|
||||
Released in Clixon 3.10";
|
||||
}
|
||||
revision 2019-02-06 {
|
||||
description
|
||||
"Released in Clixon 3.9";
|
||||
|
|
@ -121,7 +126,7 @@ module clixon-config {
|
|||
}
|
||||
}
|
||||
}
|
||||
container config {
|
||||
container clixon-config {
|
||||
leaf-list CLICON_FEATURE {
|
||||
description
|
||||
"Supported features as used by YANG feature/if-feature
|
||||
|
|
@ -372,20 +377,6 @@ module clixon-config {
|
|||
info. When loaded at startup, a check is made if the system
|
||||
yang modules match";
|
||||
}
|
||||
leaf CLICON_XML_NS_STRICT {
|
||||
type boolean;
|
||||
default true;
|
||||
description
|
||||
"If not set, make non-strict laze namespace checks, by iterating
|
||||
through modules to find the matching datanode
|
||||
or rpc if no xmlns attribute specifies namespace.
|
||||
This is lazy semantics of finding namespaces, which means you
|
||||
do not need to explicitly give the namespace if the symbol exists
|
||||
in some loaded module.
|
||||
Example: <x/> is enough, instead of <x xmlns='urn:example:clixon'/>
|
||||
But it is wrong, but is the way Clixon originally was written.
|
||||
Strict semantics is the default.";
|
||||
}
|
||||
leaf CLICON_USE_STARTUP_CONFIG {
|
||||
type int32;
|
||||
default 0;
|
||||
Loading…
Add table
Add a link
Reference in a new issue