This commit is contained in:
Olof hagsand 2019-02-21 20:04:04 +01:00
parent 9afdd66f9a
commit 701ef1dead
6 changed files with 22 additions and 23 deletions

View file

@ -1,6 +1,6 @@
# Clixon Changelog # Clixon Changelog
## Forthcoming: 3.9.0 (22 Feb 2019) ## 3.9.0 (21 Feb 2019)
Thanks for all bug reports, feature requests and support! Thanks to [Netgate](https://www.netgate.com) and other sponsors for making Clixon a better tool! Thanks for all bug reports, feature requests and support! Thanks to [Netgate](https://www.netgate.com) and other sponsors for making Clixon a better tool!
@ -54,21 +54,21 @@ Thanks for all bug reports, feature requests and support! Thanks to [Netgate](ht
``` ```
* To keep previous non-strict namespace handling (backwards compatible), set CLICON_XML_NS_STRICT to false. Note that this option will be removed asap after 3.9.0. * To keep previous non-strict namespace handling (backwards compatible), set CLICON_XML_NS_STRICT to false. Note that this option will be removed asap after 3.9.0.
* A major uplift to conform to Yang RFC7950 * An uplift of Yang to conform to RFC7950
* YANG parser cardinality checked (https://github.com/clicon/clixon/issues/48) * YANG parser cardinality checked (https://github.com/clicon/clixon/issues/48)
* More precise Yang validation and better error messages * More precise Yang validation and better error messages
* RPC method input parameters validated (https://github.com/clicon/clixon/issues/47) * RPC method input parameters validated (https://github.com/clicon/clixon/issues/47)
* Example: adding bad-, missing-, or unknown-element error messages, instead of operation-failed. * Added bad-, missing-, or unknown-element error messages, instead of operation-failed.
* Validation of mandatory choice and recursive mandatory containers * Validation of mandatory choice and recursive mandatory containers
* Support of YANG `submodule, include and belongs-to` and improved `unknown` handlin * Support of YANG `submodule, include and belongs-to` and improved `unknown` handling
* Parsing of standard yang files supported, such as: * Parsing of standard yang files supported, such as:
* https://github.com/openconfig/public - except [https://github.com/clicon/clixon/issues/60]. See (test/test_openconfig.sh) * https://github.com/openconfig/public - except [https://github.com/clicon/clixon/issues/60]. See [test/test_openconfig.sh]
* https://github.com/YangModels/yang - except vendor-specific specs. See (test/test_yangmodels.sh). * https://github.com/YangModels/yang - except vendor-specific specs. See [test/test_yangmodels.sh].
* Yang load file configure options changed * Yang load file configure options changed
* `CLICON_YANG_DIR` is changed from a single directory to a path of directories * `CLICON_YANG_DIR` is changed from a single directory to a path of directories
* Note CLIXON_DATADIR (=/usr/local/share/clixon) need to be in the list * Note `CLIXON_DATADIR` (=/usr/local/share/clixon) need to be in the list
* CLICON_YANG_MAIN_FILE Provides a filename with a single module filename. * `CLICON_YANG_MAIN_FILE` Provides a filename with a single module filename.
* CLICON_YANG_MAIN_DIR Provides a directory where all yang modules should be loaded. * `CLICON_YANG_MAIN_DIR` Provides a directory where all yang modules should be loaded.
* NACM (RFC8341) * NACM (RFC8341)
* Incoming RPC Message validation is supported (See sec 3.4.4 in RFC8341) * Incoming RPC Message validation is supported (See sec 3.4.4 in RFC8341)
* Data Node Access validation is supported (3.4.5), _except_: * Data Node Access validation is supported (3.4.5), _except_:
@ -77,19 +77,19 @@ Thanks for all bug reports, feature requests and support! Thanks to [Netgate](ht
* RPC:s are supported _except_: * RPC:s are supported _except_:
* `copy-config`for other src/target combinations than running/startup (3.2.6) * `copy-config`for other src/target combinations than running/startup (3.2.6)
* `commit` - NACM is applied to candidate and running operations only (3.2.8) * `commit` - NACM is applied to candidate and running operations only (3.2.8)
* Client-side RPC:s are _not_ supported. That is, RPC code that runs in Netconf, restconf and CLI clients. * Client-side RPC:s are _not_ supported. That is, RPC code that runs in Netconf, Restconf or CLI clients.
* Recovery user "_nacm_recovery" added. * Recovery user `_nacm_recovery` added.
* Experimental support, no performance enhancements and need further testing * The NACM support is ongoing work and needs performance enhancements and further testing.
* Change GIT branch handling to a single working master branch * Change GIT branch handling to a single working master branch
* Develop branched abandoned * Develop branched abandoned
* Travis CI supported, see [https://travis-ci.org/clicon/clixon] * [Clixon Travis CI]([https://travis-ci.org/clicon/clixon]) continuous integration is now supported.
* Clixon Alpine-based containers * Clixon Alpine-based containers
* [Clixon base container](docker/base). * [Clixon base container](docker/base).
* [CLixon system and test container](docker/system). * [Clixon system and test container](docker/system) used in Travis CI.
* See also: [Clixon docker hub](https://hub.docker.com/u/clixon) * See also: [Clixon docker hub](https://hub.docker.com/u/clixon)
### API changes on existing features (you may need to change your code) ### API changes on existing features (you may need to change your code)
* XML namespace handling is corrected (see (#major-changes)) * XML namespace handling is corrected (see [#major-changes])
* For backward compatibility set config option CLICON_XML_NS_LOOSE * For backward compatibility set config option CLICON_XML_NS_LOOSE
* You may have to manually upgrade existing database files, such as startup-db or persistent running-db, or any other saved XML file. * You may have to manually upgrade existing database files, such as startup-db or persistent running-db, or any other saved XML file.
* Stricter Yang validation (see (#major-changes)): * Stricter Yang validation (see (#major-changes)):

View file

@ -96,10 +96,9 @@ EOF
## New release ## New release
What to think about when doing a new release. What to think about when doing a new release.
* valgrind for memory leaks * run test/mem.sh
* New clixon-config.yang revision? * New clixon-config.yang revision?
Tagging: Tagging:
* git merge --no-ff develop
* change CLIXON_VERSION in configure.ac * change CLIXON_VERSION in configure.ac
* git tag -a <version" * git tag -a <version"
* git push origin <version> * git push origin <version>

View file

@ -8,13 +8,14 @@ support.
* [Background](#background) * [Background](#background)
* [Frequently asked questions (FAQ)](doc/FAQ.md) * [Frequently asked questions (FAQ)](doc/FAQ.md)
* [Changelog](CHANGELOG.md)
* [Installation](#installation) * [Installation](#installation)
* [Licenses](#licenses) * [Licenses](#licenses)
* [Support](#support) * [Support](#support)
* [Dependencies](#dependencies) * [Dependencies](#dependencies)
* [Extending](#extending) * [Extending](#extending)
* [Yang](#yang) * [Yang](#yang)
* [CLI](cli/FAQ.md) * [CLI](doc/FAQ.md)
* [XML and XPATH](#xml) * [XML and XPATH](#xml)
* [Netconf](#netconf) * [Netconf](#netconf)
* [Restconf](#restconf) * [Restconf](#restconf)
@ -22,7 +23,6 @@ support.
* [Authentication](#auth) * [Authentication](#auth)
* [NACM Access control](#nacm) * [NACM Access control](#nacm)
* [Example](example/README.md) * [Example](example/README.md)
* [Changelog](CHANGELOG.md)
* [Runtime](#runtime) * [Runtime](#runtime)
* [Clixon project page](http://www.clicon.org) * [Clixon project page](http://www.clicon.org)
* [Tests and CI](test/README.md) * [Tests and CI](test/README.md)

2
configure vendored
View file

@ -2169,7 +2169,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
CLIXON_VERSION_MAJOR="3" CLIXON_VERSION_MAJOR="3"
CLIXON_VERSION_MINOR="9" CLIXON_VERSION_MINOR="9"
CLIXON_VERSION_PATCH="0" CLIXON_VERSION_PATCH="0"
CLIXON_VERSION="\"${CLIXON_VERSION_MAJOR}.${CLIXON_VERSION_MINOR}.${CLIXON_VERSION_PATCH}.PRE\"" CLIXON_VERSION="\"${CLIXON_VERSION_MAJOR}.${CLIXON_VERSION_MINOR}.${CLIXON_VERSION_PATCH}\""
# Fix to specific CLIgen version (eg 3.5) or head (3) # Fix to specific CLIgen version (eg 3.5) or head (3)
CLIGEN_VERSION="3" CLIGEN_VERSION="3"

View file

@ -45,7 +45,7 @@ AC_INIT(lib/clixon/clixon.h.in)
CLIXON_VERSION_MAJOR="3" CLIXON_VERSION_MAJOR="3"
CLIXON_VERSION_MINOR="9" CLIXON_VERSION_MINOR="9"
CLIXON_VERSION_PATCH="0" CLIXON_VERSION_PATCH="0"
CLIXON_VERSION="\"${CLIXON_VERSION_MAJOR}.${CLIXON_VERSION_MINOR}.${CLIXON_VERSION_PATCH}.PRE\"" CLIXON_VERSION="\"${CLIXON_VERSION_MAJOR}.${CLIXON_VERSION_MINOR}.${CLIXON_VERSION_PATCH}\""
# Fix to specific CLIgen version (eg 3.5) or head (3) # Fix to specific CLIgen version (eg 3.5) or head (3)
CLIGEN_VERSION="3" CLIGEN_VERSION="3"

View file

@ -1,7 +1,7 @@
# CLixon CLI # Clixon CLI
* [CLIgen](#cligen) * [CLIgen](#cligen)
* [Tricks - eg for large specs](tricks) * [Tricks - eg for large specs](#tricks)
## CLIgen ## CLIgen