Commit graph

317 commits

Author SHA1 Message Date
Olof hagsand
8901d00e47 Reworked cli show mem to yang domains 2024-09-26 13:36:14 +02:00
Olof hagsand
212be7ad57 Replace shared yang with yang domains 2024-09-26 09:47:03 +02:00
Olof hagsand
a4225c43b4 YANG: reorder CLICON_YANG_DIRs to yang group. remove trailing spaces 2024-09-18 20:51:31 +02:00
Olof hagsand
cc194ac7c5 Added yang domains for mount-point isolation
New option: `CLICON_YANG_DOMAIN_DIR`
New `clixon-config@2024-08-01.yang` revision
2024-09-12 20:48:14 +02:00
Olof hagsand
619719bb4d autocli: forgot add yang file in prev commit 2024-08-18 14:10:51 +02:00
Olof hagsand
7ed3973b8d autocli: fix for disable rule in previous commit 2024-08-18 14:01:16 +02:00
Olof hagsand
74e8934636 New clixon-autocli@2024-08-01.yang revision: Added disable operation for module rules 2024-08-18 12:39:13 +02:00
Olof hagsand
07a1fa164f List pagination, uniform config/state handling with new attributes
New `clixon-lib@2024-04-01.yang` revision and list_pagination_partial_state extension
2024-07-17 14:39:48 +02:00
Olof hagsand
ad5312d824 Add ietf-system-capabilities and adapt all tests 2024-07-09 17:38:07 +02:00
Olof hagsand
28bede2c8f Updated ietf-list-pagination YANGs to 2024-07-08 2024-07-09 10:17:13 +02:00
Olof hagsand
9a553bdcaa Re-add option CLICON_NETCONF_DUPLICATE_ALLOW 2024-06-24 08:40:36 +02:00
Olof hagsand
78cd42c15d Test: mem.sh rm files, rm commit tests from datastore_multi 2024-06-23 10:49:13 +02:00
Olof hagsand
0234ed94bc Added CLICON_LOG_DESTINATION and CLICON_LOG_FILE for al applications 2024-06-19 12:46:09 +02:00
Olof hagsand
b6480ac07d clixon-config.yang: Added CLICON_DEBUG, Removed: CLICON_NETCONF_DUPLICATE_ALLOW
Rearranged and grouped options
clixon-lib.yang: Added debug types
Removed git reliance in test - moved to configure script
2024-05-21 13:21:55 +02:00
Olof hagsand
37e9429ec8 Optimization of yang schema mount: share yang-specs if equal 2024-05-19 10:04:31 +02:00
Olof hagsand
62a4b5feff Restconf native+http/1 + tls
Added command-line timeout -t <sec> to restconf
Example: Added programmable timeout to backend example
Test: updated for fcgi and native using internal timeouts
2024-05-13 23:13:05 +02:00
Olof hagsand
2d5a646b51 Changed -f /usr/local/etc/example.xml -> /usr/local/etc/clixon/example.xml everywhere 2024-05-13 08:29:46 +02:00
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