Olof hagsand
9738345f82
Optimize of multi-db write
2024-05-09 12:18:35 +02:00
Olof hagsand
8ebfdb8168
Changed datastore modstate to be last in file, as prior to 7.0
2024-05-08 14:47:44 +02:00
Olof hagsand
af36838b4c
Changed -f /usr/local/etc/example.xml -> /usr/local/etc/clixon/example.xml everywhere
2024-05-07 12:27:51 +02:00
Olof hagsand
7e1a00669c
Event priority. Backend socket has higher prio.
2024-04-25 14:58:41 +02:00
Olof hagsand
f511cb0030
Split config into multiple sub-files on mount-point boundaries and dont write clean subfiles
...
Added CLICON_XMLDB_MULTI option, added cl:xmldb-split extension
2024-04-25 14:58:14 +02:00
Olof hagsand
407b4703b3
[Autolock]( https://github.com/clicon/clixon/issues/508 )
...
Added option: `CLICON_AUTOLOCK`
2024-04-12 13:09:27 +02:00
Olof hagsand
344786a971
Fixed: [Duplicate config files in configdir causes merge problems -> set ? = NULL]( https://github.com/clicon/clixon/issues/510 )
...
Made file-dir match more exact, eg .cli not ?cli
Added -1 as any arg to xml_rm_children()
2024-04-11 12:02:08 +02:00
Olof hagsand
60a774cbf7
CLI configurable format: [Default format should be configurable]( https://github.com/clicon/clixon-controller/issues/87 )
...
Added option: `CLICON_CLI_OUTPUT_FORMAT` - Default CLI output format
2024-04-06 12:02:12 +02:00
Olof hagsand
bd3a841103
New clixon-config@2024-04-01.yang revision
...
Added options: `CLICON_NETCONF_DUPLICATE_ALLOW` - Disable duplicate check in NETCONF messages
New `clixon-lib@2024-04-01.yang` revision
2024-04-03 17:40:32 +02:00
Olof hagsand
9826ac16ff
Formatting and CHANGELOG updates
2024-04-03 17:40:32 +02:00
Olof hagsand
28050f44f8
Clixon 7.0.0
2024-03-08 09:41:57 +01:00
Olof hagsand
278def125c
clixon-config@2024-01-01.yang: Changed semantics of CLICON_VALIDATE_STATE_XML
...
Minor optimizations
2024-02-22 09:40:07 +01:00
Olof hagsand
6ff1588397
Changed cl:ignore-compare to also include core diff algorithm
2024-02-09 16:18:47 +01:00
Olof hagsand
9989ee4d52
Removed other datastore options than cached
...
Marked `CLICON_DATASTORE_CACHE` as obsolete
2024-02-01 19:28:41 +01:00
Olof hagsand
f1cf5c4234
Removed container creators from clixon-lib.yang
2024-01-22 13:05:53 +01:00
Olof hagsand
88b60daa75
Revert and obsolete the creators attribute feature introduced in 6.2.
2024-01-21 12:58:51 +01:00
Olof hagsand
bb603e0a83
New clixon-config@2024-01-01.yang revision
2024-01-15 14:39:33 +01:00
Olof hagsand
ea645d1334
New clixon-lib@2024-01-01.yang revision
...
* Replaced container creators to grouping/uses
2024-01-09 10:42:33 +01:00
Olof hagsand
bbcb4a7b03
Creator attribute changes: added as xmldb metadata
...
clixon-config.yang: New revision and Added `CLICON_NETCONF_CREATOR_ATTR` option
clixon-lib.yang: Added creator meta
Changed return value of xml_add_attr
2023-11-28 14:44:01 +01:00
Olof hagsand
e9c5287c36
Debug: improved debug level 2 with socket-description, also for notification
2023-11-01 13:48:41 +01:00
Olof hagsand
e7313fc9a2
New clixon-lib@2023-11-01.yang revision with ignore-compare extension
2023-10-25 18:09:40 +02:00
Olof hagsand
f6dbb30110
Minor fixes: UTF str: removed unused code, clarified loading of yang-lib load
2023-10-20 10:04:03 +02:00
Olof hagsand
9091582087
Low-level message functions added descr argument for better logging C-API change
2023-09-12 10:08:32 +02:00
Olof hagsand
b8f4dbd8d1
Test: more test cli multiple pipes
2023-09-04 14:04:34 +02:00
Olof hagsand
97eb603ac1
Add new clixon-autocli yang file
2023-08-31 22:32:50 +02:00
Olof hagsand
3b08653eb4
Added: [Feature request: node's alias for CLI]( https://github.com/clicon/clixon/issues/434 )
...
New `clixon-autocli@2023-09-01.yang` revision
Misc typos
2023-08-31 18:00:29 +02:00
Olof hagsand
bee30a4ea0
Example: added -m/-M options for testing mount-points
2023-08-07 18:12:53 +02:00
Olof hagsand
f526d5b7a0
Autocli optimization feature for generating smaller CLISPECs for large YANGs using treerefs
...
New `grouping-treeref` option added to clixon-autocli.yang
Default is disabled, set to true to generate smaller memory footprint of clixon_cl
Add prefix "mtpoint:" to cli api-paths to identify change of yang schemas
2023-07-23 15:21:59 +02:00
Olof hagsand
90b7a550b2
Added configure option CLICON_PLUGIN_DLOPEN_GLOBAL for config of dlopen()
2023-07-06 17:34:28 +02:00
Olof hagsand
0460c093cc
Moved datastore-format datastype from clixon-config.yang to clixon-lib.yang
2023-06-20 10:06:52 +02:00
Olof Hagsand
53ceb35d51
New clixon-autocli.yang version with skip and alias extensions
2023-06-10 11:46:27 +02:00
Olof hagsand
bd6a67f1d9
New clixon-config@2023-05-01.yang revision
...
Added options: CLICON_CONFIG_EXTEND
2023-06-01 17:43:17 +02:00
Olof hagsand
b6116261a3
* Restructured and extended <stats> rpc to schema mountpoints
...
* New revision of clixon-lib.yang
* CLI: Added `show statistics` example code for backend and CLI memory stats
2023-05-05 17:54:10 +02:00
Olof hagsand
6335f810d3
C-API: clixon_xml2file and clixon_xml2cbuf added prefix argument
...
Added in-mem xml diff function: `xml_tree_diff_print`
2023-04-12 10:44:58 +02:00
Olof hagsand
819a0b5a9e
New clixon-lib@2023-03-01.yang revision
...
* Added creator meta-object
2023-04-11 13:50:45 +02:00
Olof hagsand
1f5df800bc
Restconf: Added fallback mechanism for non-ALPN HTTPS
...
* Set `CLICON_RESTCONF_NOALPN_DEFAULT` to `http/2` or `http/1.1`
* For http/1 or http/2 only, that will be the default if no ALPN is set.
2023-03-03 16:05:31 +01:00
Olof hagsand
585e725aec
Yang schema mount: replaced config --enable-yang-schame-mount with runtime option CLICON_YANG_SCHEMA_MOUNT
...
Added config and validation-level as parameters to ca_yang_mount
2023-02-17 16:39:39 +01:00
Olof hagsand
d358387d39
* Fixed: [State XML validation error when CLICON_MODULE_LIBRARY_RFC7895=true and ietf-yang-libra$
...
* Removed obsolete option: `CLICON_MODULE_LIBRARY_RFC7895'
* Obsolete config options given in the confi file are considered an error
* Added section in CONTRIBUTING relating to optimzation
* Changed reset merge to implicit default values.
* This avoids a potential overwriting of explicitly set default values in the existing config
* Adapted some code to [Make cligen_* functions const ](https://github.com/clicon/cligen/pull/83 )
* Test: fixed test for * Fixed: [datamodel tree generated from basemodel tree is not proper when a list has more than one key and key is of enum type](https://github.com/clicon/clixon/issues/417 )
2023-02-12 16:19:27 +01:00
Olof hagsand
000cb866c2
RFC 8525:
...
- Change from RFC 7805: Remove revision if empty instead of sending empty revision
RFC 6022
- Added cli identity to RFC6022 transport
- Added source-host for natove restconf, bit no other sessions
2023-01-15 22:44:00 +01:00
Olof hagsand
3916fa919c
Netconf monitoring RFC 6022 Sessions ( https://github.com/clicon/clixon/issues/370 )
...
- statistics and transport/source-host parameters
- extended internal NETCONF hello with transport and source-host attributes
clixon-lib,yang
- Moved all extended internal NETCONF attributes to the clicon-lib namespace
C-API:
- wrapped most attribute creation into new fn xml_add_attr()
2023-01-15 12:36:59 +01:00
Olof Hagsand
61e2f014be
* Changed docker builds
...
* `clixon-test` built in `docker/test`
* Renamed from `clixon-system` built in `docker/main`
* `clixon-example` built in `docker/example`
* Added netconf ssh subsystem
* Renamed from `clixon` built in `docker/base`
* Added ietf-yang-schema-mount@2019-01-14.yang
2022-12-11 13:57:27 +01:00
Olof hagsand
571e26e0d6
Revert with-defaults option,
...
Added clarifying NETCONF_DEFAULT_RETRIEVAL_REPORT_ALL compile-time option instead
2022-12-08 20:28:32 +01:00
Olof hagsand
407860ccc7
Add new clixon-config.yang with CLICON_NETCONF_WITHDEFAULTS_REPORTALL
2022-12-07 10:56:04 +01:00
Olof hagsand
c94e9dad67
Feature Request: Support RFC 6022 (NETCONF Monitoring)
...
* Added capabilities and schema state, and get-schema rpc
* New `clixon-config@2022-11-01.yang` revision
* Added option:
* `CLICON_NETCONF_MONITORING`
* `CLICON_NETCONF_MONITORING_LOCATION`
2022-11-28 15:53:24 +01:00
Olof hagsand
a9a82d6e0c
Load RFC6022 ietf-netconf-monitoring, first step
2022-11-23 09:54:56 +01:00
Olof hagsand
05cdbf5c4f
* List-pagination: Adhere to ietf-draft: Removed list-pagination "presence"
...
* Remove default expansion in NETCONF client
* C-API: Added `expanddefault` parameter to `xml_yang_validate_rpc()`
2022-11-02 11:25:06 +01:00
Olof hagsand
56f4bb45cc
* Added PRETTYPRINT_INDENT compile-time option controlling indentation level for XML,JSON and TEXT
...
* Default value is `3`
2022-10-31 14:20:14 +01:00
Olof hagsand
d84c529ff1
[Code formatting: Change indentation style to space]( https://github.com/clicon/clixon/issues/379 )
...
* Applies to all c/h/y/l/sh files and .editorconfig
2022-10-27 14:21:17 +02:00
Olof hagsand
6f0bd01a6a
Confirm-commit RESTCONF support
2022-10-18 10:56:14 +02:00
Olof hagsand
07536fc8d2
With-default cli test, use xpath to only show config tree
...
Make all tests independent of CLICON_STREAM_DISCOVERY_RFC8040 setting
2022-09-19 10:58:44 +02:00