Commit graph

1105 commits

Author SHA1 Message Date
Olof hagsand
0586e94856 Post-release test and docs 2024-10-29 09:53:20 +01:00
Olof hagsand
e0ebe41ee2 typos 2024-10-28 13:58:01 +01:00
Olof hagsand
469bfdd3f2 7.2.0 changes 2024-10-28 13:53:39 +01:00
Olof hagsand
0307aa5374 Fixed: [YANG 'when' does not work in multiple grouping](https://github.com/clicon/clixon/issues/572) 2024-10-28 12:06:28 +01:00
Olof hagsand
315e554637 Test: mem test delays
Yang-lib capabilty fix
2024-10-21 23:47:06 +02:00
Olof hagsand
4dd3f9fd34 Fixed: [Error when changing choice/case with different structure](https://github.com/clicon/clixon/issues/568) 2024-10-19 17:05:19 +02:00
Olof hagsand
0a37cf31ab New version string on the form: 7.1.0-1+11+g2b25294 2024-10-18 17:33:25 +02:00
Olof hagsand
f87ff859a6 Removed list-pagination-partial-state extension
Refactored pagination code
Reverted clixon-lib.yang to 2024-04-01 revision
2024-10-16 10:46:54 +02:00
Olof hagsand
5ebc5a2219 Re-added shared yang mounts
YANG: de-dperecated CLICON_YANG_SCHEMA_MOUNT_SHARE
2024-10-06 15:46:15 +02:00
Olof hagsand
f0f3ed0dff Optimize autocli memory: Late evaluation of uses/grouping 2024-09-28 18:25:03 +02:00
Olof hagsand
1994a405dd Replaced compile-time with CLICON_YANG_USE_ORIGINAL
Use original yang object in grouping/augment
2024-09-26 15:17:57 +02:00
Olof hagsand
212be7ad57 Replace shared yang with yang domains 2024-09-26 09:47:03 +02:00
Olof hagsand
6a634effea Fixed: [Clixon handle if-feature incorrectly](https://github.com/clicon/clixon/issues/555) 2024-09-21 15:15:15 +02:00
Olof hagsand
3108dfca1e Fixed: [Clixon fails to load yang with extension](https://github.com/clicon/clixon/issues/554) 2024-09-21 11:04:03 +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
31008e8492 Fixed: Double top-levels in xmldb_get that could occur with xpath containing choice. 2024-09-04 12:12:36 +02:00
Olof hagsand
c1ea72bcb3 Restconf: Support for list of media in Accept:
Restconf: Better RFC compliance with Accept errors: 406 vs 415
Fixed: [RESTCONF exit on cert error + complex accept](https://github.com/clicon/clixon/issues/551)
2024-09-02 16:37:11 +02:00
Olof hagsand
dfe5c1bac1 Refactoring of schema mount-points
Add new top-level `Y_MOUNTS` and add top-level yangs and mountpoints in yspecs
2024-08-29 17:24:44 +02:00
Olof hagsand
7cbc0a8dc3 Fixed: [Deletion of leaf in YANG choice removes leaf in a different choice/case](https://github.com/clicon/clixon/issues/542) 2024-08-20 10:07:03 +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
b1a4656f72 YANG deviation: Resolve deviated types lexically in deviation context 2024-08-16 13:33:43 +02:00
Olof hagsand
1709537701 Replaced clixon_get_logflags() with clixon_logflags_get()
Added `clixon_logflags_set()`
2024-08-16 10:31:52 +02:00
Olof hagsand
bd5214dde1 Optmize YANG memory: Yang-type cache only for original trees 2024-08-13 13:48:53 +02:00
Olof hagsand
275cefbae7 Moved map functions from clixon_string to _map, new ptr2ptr map 2024-08-10 13:42:37 +02:00
Olof hagsand
781c9d9d27 YANG optimize, add orig pointer for derived trees
Skip some yang objects in derived trees
Add function to remove USES in augment/grouping trees
2024-08-09 12:03:14 +02:00
Olof hagsand
ca786da156 Fixed signal handling of recv message
Revert to signal handling in 6.5 that was changed in the netconf uniform handling in 7.0
2024-08-06 11:27:20 +02:00
Olof hagsand
af29a0f974 Added YANG_SPEC_LINENR compile-time option 2024-07-31 14:33:31 +02:00
Olof hagsand
aa4feee03e New: [CLI simple alias](https://github.com/clicon/cligen/issues/112) 2024-07-24 17:14:38 +02:00
Olof hagsand
9ee55441ac Pagination test/doc errors 2024-07-22 09:23:02 +02:00
Olof hagsand
816238029d Fixed: [NETCONF error reply from failed leafref rquire-instance does not comply to RFC 7950](https://github.com/clicon/clixon/issues/53 2024-07-22 09:18:27 +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
05c881dc39 List pagination: Added where and direction parameter for configured data 2024-07-16 15:33:09 +02:00
Olof hagsand
36f3c95768 List-pagination sort-by parameter 2024-07-11 22:45:15 +02:00
Olof hagsand
4b9ee6740b C-API changes: Replace yn_each with yn_iter, add keyw argument to yang_stats() 2024-07-04 18:27:14 +02:00
Olof hagsand
3e07a1d279 configure version major/minor derived from git
Remove compile-time COMPAT_6_5 and IDENTITYREF_KLUDGE
2024-07-03 12:55:02 +02:00
Olof hagsand
7aac03ba5e Clixon 7.1.0 2024-07-03 09:21:23 +02:00
Olof hagsand
9a553bdcaa Re-add option CLICON_NETCONF_DUPLICATE_ALLOW 2024-06-24 08:40:36 +02:00
Olof hagsand
43325ca2f8 Fixed: [Invalid api-path errors thrown when displayin qfx family device conf in CLI](https://github.com/clicon/clixon-controller/issues/126) 2024-06-19 14:49:22 +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
1904805103 Fixed: [Error message from CLI if terminal is modified](https://github.com/clicon/clixon-controller/issues/122) 2024-05-22 16:48:57 +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
1336a4ccfb RESTCONF notification for native mode 2024-05-19 17:44:24 +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
03a9c03b1c Fixed: backend exit when receiving invalid NETCONF get select XPath
Added XML encoding to XPaths in `select` attribute
2024-05-15 13:44:12 +02:00
Olof hagsand
ca701b0c1a Changed intermediate version numbers to be git-style, eg 7.0.0-39 instead of 7.1.0-PRE
* Changed datastore modstate to be last in file, as prior to 7.0
2024-05-08 16:51:45 +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
b1209aac67 Multi-db: Moved top-level datastore from (eg) running_db to running.d/0.xml 2024-05-08 09:40:27 +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
bd290e4594 Fixed: Fail on return errors when reading from datastore 2024-04-24 13:48:06 +02:00