Commit graph

1134 commits

Author SHA1 Message Date
Olof hagsand
ea64bb3f3d Fixed: [Diff of top-level default values on startup stopped working in 7.3](https://github.com/clicon/clixon/issues/596) 2025-03-13 14:10:20 +01:00
Olof hagsand
40d674bbbc Fixed: [cli_show_auto don't work](https://github.com/clicon/clixon/issues/595) 2025-03-10 13:50:58 +01:00
Olof hagsand
302762f5af Fixed: [XPath * stopped working in 7.3](https://github.com/clicon/clixon/issues/594) 2025-03-02 11:09:34 +01:00
Olof hagsand
ed226a990c Fixed: [Templates with nc:operation merge causes bad diffs to be shows](https://github.com/clicon/clixon-controller/issues/187) 2025-02-27 12:04:06 +01:00
Olof hagsand
a7cc1c6362 New clixon-restconf@2025-02-01.yang revision: timeout parameter 2025-02-18 10:13:59 +01:00
Olof hagsand
2770743193 Added new 'ca_userdef' callback 2025-02-13 14:17:58 +01:00
Olof hagsand
8bb460df15 Clixon 7.3.0 changelog 2025-01-30 09:54:18 +01:00
Olof hagsand
bf3451c8ed YANG: added extension/unknown-stmt to rpc/input+output 2025-01-28 10:44:47 +01:00
Olof hagsand
0ad59d3300 show EXPLICIT compare diff only 2025-01-24 13:54:00 +01:00
Olof hagsand
2831be4153 Fixed: [Documentation corresponding to specific release](https://github.com/clicon/clixon-controller/issues/178) 2025-01-23 12:19:22 +01:00
Olof hagsand
271569b194 Fixed: [Backend hangs when doing "process services restart" in the CLI](https://github.com/clicon/clixon-controller/issues/178) 2025-01-17 13:53:44 +01:00
Olof hagsand
06e1a48480 Optimized duplicate detection and removal 2024-12-25 14:03:06 +01:00
Olof hagsand
ead9e8d666 C-API: New no-copy xmldb_get_cache function for performance
Added SKIP flag to XML for skipping nodes in xml_diff
2024-12-18 16:54:01 +01:00
Olof hagsand
6c73c36fb7 Refactored yang schema code
YANG Deprecated:  `CLICON_YANG_SCHEMA_MOUNT_SHARE` due to yang domain support
2024-12-11 19:49:11 +01:00
Olof hagsand
b1d969e42b Moved callbacks starting programs from libclixon_cli to example code
The functions are: `cli_start_shell` and `cli_start_program`
If you need them, add them to your application plugin code instead
2024-12-10 10:36:39 +01:00
Olof hagsand
c24c38dbb5 CLI generic pipe callbacks 2024-12-06 11:02:53 +01:00
Olof hagsand
3332dfef20 Fixed: [Autocli: error when empty YANG group and grouping-treeref=true](https://github.com/clicon/clixon/issues/579) 2024-12-05 16:43:11 +01:00
Olof hagsand
21476c1399 Fixed: [Mem error when more multiple uses on top level with multiple statements in grouping](https://github.com/clicon/clixon/issues/583) 2024-12-05 15:44:01 +01:00
Olof hagsand
0193186272 Fixed: [Change CLICON_NETCONF_DUPLICATE_ALLOW to remove duplicates](https://github.com/clicon/clixon-controller/issues/160)
C-API: Removed xml_tree_prune_flagged
2024-11-23 10:54:00 +01:00
Olof hagsand
199a3fd88e Fixed: Segv in canonical xpath transform 2024-11-20 15:14:02 +01:00
Olof hagsand
313a2caadd System-only config: Source of truth
Candidate, fix system-only in cache when locked or modified, re-read otherwise
Remove system-only from cache after commit
2024-11-15 10:43:53 +01:00
Olof hagsand
ca695ea386 Fixed: [Error with submodules and feature Interaction](https://github.com/clicon/clixon-controller/issues/158) 2024-11-08 16:37:31 +01:00
Olof hagsand
6ce1df2e5e Fixed: [Expansion removes the double quote](https://github.com/clicon/clixon/issues/524)
Add escaping in expand_dbvar instead of automatic in cligen
2024-11-08 11:49:53 +01:00
Olof hagsand
7b01b029a4 System-only 7.2 adjustment mismatching yang revisions after branch merge 2024-11-04 15:56:35 +01:00
Olof hagsand
69b65ad13d System-only-config
* Fix startup diff
* Add system-only to running on startup
* JSON support:
2024-11-04 15:55:23 +01:00
Olof hagsand
3a656fac07 System-only config
New `ca_system_only` backend callback for reading system-only data
New `CLICON_XMLDB_SYSTEM_ONLY_CONFIG` configuration option
API: Added `system_only` parameter to clixon_xml2file1()
Cleared running on commit and inited candidate on startup with system-only data
Added callback code in main example
2024-11-04 09:34:27 +01:00
Olof hagsand
515d30bdd7 New: [feature request: support xpath functions for strings](https://github.com/clicon/clixon/issues/556)
Added: re-match, substring, string, string-length, translate, substring-before, substring-after, starts-with
2024-11-02 17:27:25 +01:00
Olof hagsand
3188e3cc59 Fixed: [string length validation doesn't work for the entry "" in case it has default value specified](https://github.com/clicon/clixon/issues/563) 2024-11-01 09:58:28 +01:00
Olof hagsand
739d052383 Fixed: [SNMP: snmpwalk is slow and can timeout](https://github.com/clicon/clixon/issues/404) 2024-10-31 16:28:30 +01:00
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