Clixon 6.2.0
6.2.0
30 April 2023
Clixon 6.2.0 brings no new major feature changes, but completes YANG
schema mount and other features required by the clixon controller
project, along with minor improvements and bugfixes.
API changes on existing protocol/config features
Users may have to change how they access the system
- New
clixon-config@2023-03-01.yang
revision- Added options:
CLICON_RESTCONF_NOALPN_DEFAULT
- Extended datastore-format with CLI and text
- Added options:
- New
clixon-lib@2023-03-01.yang
revision- Added creator meta-object
C/CLI-API changes on existing features
Developers may need to change their code
- C-API
clixon_xml2file
andclixon_xml2cbuf
addedprefix
argument- Example application is to add "+"/"-" for diffs
- Example change:
clixon_xml2file(f,x,p,f,s,a)
->clixon_xml2file(f,x,p,NULL,f,s,a)
clixon_xml2cbuf(c,x,l,p,d,s)
->clixon_xml2cbuf(c,x,l,p,NULL,d,s)
xmldb_validate
is removed. Yang checks should be enough, remnant of time before YANG checks.xml_diff
: removed 1styspec
parameterxml2xpath()
: Addedint apostrophe
as 4th parameter, default 0- This is for being able to choose single or double quote as xpath literal quotes
clicon_msg_rcv
: Addedintr
parameter for interrupting on^C
(default 0)- Renamed include file:
clixon_backend_handle.h
toclixon_backend_client.h
candidate_commit()
: validate_level (added in 6.1) marked obsolete
Minor features
- Adjusted to Openssl 3.0
- Unified netconf input function
- Three different implementations were used in external, internal and controller code
- Internal netconf still not moved to unified
- The new clixon_netconf_input API unifies all three uses
- Code still experimental controlled by
NETCONF_INPUT_UNIFIED_INTERNAL
- Three different implementations were used in external, internal and controller code
- RFC 8528 YANG schema mount
- Made cli/autocli mount-point-aware
- Internal NETCONF (client <-> backend)
- Ensure message-id increments
- Separated rpc from notification socket in same session
- Restconf: Added fallback mechanism for non-ALPN HTTPS
- Set
CLICON_RESTCONF_NOALPN_DEFAULT
tohttp/2
orhttp/1.1
- For http/1 or http/2 only, that will be the default if no ALPN is set.
- Set
- Fixed: Add support decimal64 for SNMP
Corrected Bugs
- Fixed RESTCONF race conditions on SSL_shutdown sslerr ZERO_RETURN appears occasionally and exits.
- Fixed: RESTCONF: some client cert failure leads to restconf exit. Instead close and continue