Olof hagsand
8b04edc05a
Fix startup mem issue of end callback: copy target db before writing to running
2025-03-17 12:56:45 +01:00
Olof hagsand
411f509fd8
Formatting, whitespace
2025-03-16 17:28:11 +01:00
Olof hagsand
f26ea043c7
Removed RESTCONF_INLINE compile option
2025-03-16 17:22:02 +01:00
Olof hagsand
74c8244c66
Replace select with poll
...
Added prio fdes, handling of EINTR,
optimized double for loops, handle POLLHUP
2025-03-16 14:06:47 +01:00
Olof hagsand
d986ed423b
Cleanup and formatting
2025-03-13 14:39:28 +01:00
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
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
b0cc1857c0
RESTCONF over mountpoints, extended api_path2xml_mnt with mount-point check
2025-02-24 17:19:23 +01:00
Olof hagsand
9086264b89
Fixed errors in previous restconf commit
2025-02-18 16:34:28 +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
18c29f018a
Restconf: include -E configdir when starting restconf daemon
2025-02-17 10:46:38 +01:00
Olof hagsand
5a553018c8
Restconf stream: add username, increment message-id to create-subscription
2025-02-08 14:56:27 +01:00
Olof hagsand
74958d9114
C-API: changed formatstr conversion to int to handle -1
...
Misc formatting
2025-02-05 11:32:06 +01:00
Corey Minyard
25f7c56c0a
backend: Handle RPC errors
...
Use the new RPC error reporting interface to report RPC errors from
plugins.
Signed-off-by: Corey Minyard <minyard@acm.org>
2025-01-30 15:21:24 +01:00
Olof hagsand
d24d5f6a9c
Fixed memory errors in backend, cli and streams
2025-01-29 22:40:31 +01:00
Olof hagsand
fc3f0cbcd9
Improved clispec parse error message
...
Improved datastore_multi mem test
2025-01-28 22:36:50 +01:00
Olof hagsand
1580aa7a2c
Add -lm for static compile + minor test changes for 7.3
2025-01-28 09:13:18 +01:00
Olof hagsand
3be786c211
Misc formatting
2025-01-10 16:27:40 +01:00
Olof hagsand
0c284f0594
Refactoring of dunplication detect
2024-12-26 11:42:28 +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
081a541c6b
XPath: refactored XPath match, documented localonly and prefixonly api
2024-12-17 13:47:23 +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
2790d243e1
CLI: Added meta format pipe-xml-default for cli commands inside pipes
2024-12-09 22:52:23 +01:00
Olof hagsand
c24c38dbb5
CLI generic pipe callbacks
2024-12-06 11:02:53 +01:00
Olof hagsand
69eaf98913
Remove extra lines
2024-12-05 17:35:05 +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
30f9e174fa
Add ping to cli example, misc debug
2024-12-05 15:37:09 +01:00
Olof hagsand
be5a7c418a
Fixed Debug -D msg: dont show length in detailed debug
2024-11-27 10:55:34 +01:00
Olof hagsand
4c57edfc57
System-only config: revert clearing of candidate after commit
...
Add compile-time option SYSTEM_ONLY_CONFIG_CANDIDATE_CLEAR to document
2024-11-25 15:09:10 +01:00
Olof hagsand
030dd89b83
Debug -D msg: dont show length in detailed debug
2024-11-23 10:54: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
68e132c275
Re-arranged yang, minor docs
...
github actions, re-balanced jobs
2024-11-23 10:54:00 +01:00
Olof hagsand
08c8e43fb8
Disable CLICON_XMLDB_SYSTEM_ONLY_CONFIG by default
2024-11-23 08:36:15 +01:00
Olof hagsand
b7b1bf7aa4
System-only config, fixed startup diff
2024-11-19 11:52:54 +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
27c821e3ce
C-API: changed singature to yang_mount_set(y), rm: yang_mount_yspec2ymnt
2024-11-14 11:27:51 +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
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
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
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
54a8f51bfd
Fixed show mem yspec vs ydomain issue
2024-10-28 10:39:04 +01:00
Olof hagsand
947128339c
snmp getpwuid leak
2024-10-27 11:50:44 +01:00
Olof hagsand
b39b7dc674
Mem: pagination leak
2024-10-22 22:47:31 +02:00
Olof hagsand
fa93364953
Restconf mem leak
2024-10-22 12:44:49 +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
3cad374f33
Formatting and documentation
2024-10-16 12:39:45 +02:00