Clixon 6.5.0
6.5.0
6 December 2023
Clixon 6.5 includes bugfixes, removed utility functions to a separate repo and some API changes.
API changes on existing protocol/config features
Users may have to change how they access the system
- All clixon test utilities in util/ have been moved to a separate repo: clicon/clixon-util
- To run tests you need to clone, build and install them separately
- Moved and split install of main example config file
- From
/usr/local/etc/example.xml
to/usr/local/etc/clixon/example.xml
- Added
/usr/local/etc/clixon/example/autocli.xml
and/usr/local/etc/clixon/example/restconf.xml
- From
C/CLI-API changes on existing features
Developers may need to change their code
- Changed return value of
xml_add_attr
from 0/-1 to xa/NULL- You need to change eg
if (xml_add_attr < 0)
to if (xml_add_attr == NULL)`
- You need to change eg
- Changed signature of
clicon_netconf_error()
andnetconf_err2cb()
- You need to add the clixon handle as first parameter:
clicon_netconf_error(...)
-->clixon_netconf_error(h, ...)
netconf_err2cb(...)
-->netconf_err2cb(h, ...)
- You need to add the clixon handle as first parameter:
- Changed function name for
clicon_debug
functions. You need to rename as follows:- clicon_debug() -> clixon_debug()
- clicon_debug_init() -> clixon_debug_init()
- clicon_debug_get() -> clixon_debug_get()
- clicon_debug_xml() -> clixon_debug_xml()
- There are backward compatible macros during a transition period
Minor features
- New feature: Customized NETCONF error message
- Added new callback
.ca_errmsg
- See https://clixon-docs.readthedocs.io/en/latest/errors.html#customized-errors for more info
- Added new callback
- New
clixon-config@2023-11-01.yang
revision- Added
CLICON_NETCONF_CREATOR_ATTR
option
- Added
- New
clixon-lib@2023-11-01.yang
revision- Added ignore-compare extension
- Added creator meta configuration