Clixon 7.1.0
7.1.0
3 July 2024
The 7.1.0 release features RESTCONF notifications for native mode,
multi-datastore, and many new configure options.
Features
- RESTCONF notification for native mode
- Previously only for FCGI
- The following does not work: Regular subscription + stop-time
- Optimization of yang schema mount: share yang-specs if all YANGs are equal
- This reduces memory if many mount-points share YANGs
- Changed datastore modstate to be last in file, as prior to 7.0
- Event priority. Backend socket has higher prio
- Multi-datastore
- You can split configure datastore into multiple sub-files
- On edit, only changed sub-files are updated.
- Curently only implemented for mount-points
- Code for SHA digests.
- Option for automatic lock of datastore on edit-config
- See Autolock
- Option to set default CLI output format
- CLI support for multiple inline commands separated by semi-colon
- New
clixon-config@2024-04-01.yang
revision- Added options:
CLICON_NETCONF_DUPLICATE_ALLOW
: Disable duplicate check in NETCONF messagesCLICON_LOG_DESTINATION
: Default log destinationCLICON_LOG_FILE
: Which file to log to if file loggingCLICON_DEBUG
: Debug flagsCLICON_YANG_SCHEMA_MOUNT_SHARE
: Share same YANGs of several moint-pointsCLICON_SOCK_PRIO
: Enable socket event priorityCLICON_XMLDB_MULTI
: Split datastore into multiple sub filesCLICON_CLI_OUTPUT_FORMAT
: Default CLI output formatCLICON_AUTOLOCK
: Implicit locks
- Added options:
- New
clixon-lib@2024-04-01.yang
revision- Added: debug bits type
- Added: xmldb-split extension
- Added: Default format
API changes on existing protocol/config features
Users may have to change how they access the system
- Changed intermediate version numbers to be git-style, eg
7.0.0-39
instead of7.1.0-PRE
- If
CLICON_XMLDB_MULTI
is set, datastores are stored in a new directory- Previously:
CLICON_XMLDB_DIR/<db>_db
- New:
CLICON_XMLDB_DIR/<db>d/
- In particular, the top-level is moved from
<db>_db
to<db>.d/0.xml
- Backward-compatible:
- If backend is started with
-s startup
or-s running
then<db>_db
is read if<db>.d/0.xml
is not found
- If backend is started with
- Previously:
- Autoconf: Openssl mandatory for all configure, not only restconf, due to digest code
C/CLI-API changes on existing features
Developers may need to change their code
- XML encoding added a
quotes
parameter for attribute encoding, update as follows:xml_chardata_encode(e, fmt,...)
-->xml_chardata_encode(e, 0, fmt,...)
xml_chardata_cbuf_append(cb, str)
-->xml_chardata_cbuf_append(cb, 0, str)
Corrected Bugs
- Fixed: Invalid api-path errors thrown when displayin qfx family device conf in CLI
- Fixed: Error message from CLI if terminal is modified
- Fixed: backend exit when receiving invalid NETCONF get select XPath
- Added XML encoding to XPaths in
select
attribute
- Added XML encoding to XPaths in
- Fixed: Fail on return errors when reading from datastore
- Can happen if running is not upgraded for example
- Fixed: Duplicate config files in configdir causes merge problems -> set ? = NULL