76a6fce219
gnah
Clixon CI / ubuntu-build (push) Has been cancelled
Clixon CI / ubuntu-build-restconf-fcgi (push) Has been cancelled
Clixon CI / docker-alpine-test-1 (push) Has been cancelled
Clixon CI / docker-alpine-test-2 (push) Has been cancelled
Clixon CI / docker-alpine-test-3 (push) Has been cancelled
Clixon CI / docker-alpine-test-fcgi-r (push) Has been cancelled
2025-03-23 23:40:28 +01:00
219348ad85
Fix typo
Clixon CI / ubuntu-build (push) Waiting to run
Clixon CI / ubuntu-build-restconf-fcgi (push) Waiting to run
Clixon CI / docker-alpine-test-1 (push) Waiting to run
Clixon CI / docker-alpine-test-2 (push) Waiting to run
Clixon CI / docker-alpine-test-3 (push) Waiting to run
Clixon CI / docker-alpine-test-fcgi-r (push) Waiting to run
2025-03-23 23:36:04 +01:00
5513959eb4
Poorly hack in cdata parsing
Clixon CI / ubuntu-build (push) Waiting to run
Clixon CI / ubuntu-build-restconf-fcgi (push) Waiting to run
Clixon CI / docker-alpine-test-1 (push) Waiting to run
Clixon CI / docker-alpine-test-2 (push) Waiting to run
Clixon CI / docker-alpine-test-3 (push) Waiting to run
Clixon CI / docker-alpine-test-fcgi-r (push) Waiting to run
2025-03-23 23:24:46 +01:00
Olof hagsand
411f509fd8
Formatting, whitespace
2025-03-16 17:28:11 +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
khromenokroman
aa617fd677
replace in clixon_event_loop select to poll
2025-03-13 15:14:13 +01:00
Olof hagsand
d986ed423b
Cleanup and formatting
2025-03-13 14:39:28 +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
b0cc1857c0
RESTCONF over mountpoints, extended api_path2xml_mnt with mount-point check
2025-02-24 17:19:23 +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
9df084958e
Add debug trunc flags for parsing and message
2025-02-17 10:23:15 +01:00
Olof hagsand
7394958453
Add handle parameter for callbacks to check for client-rpc
2025-02-14 16:25:07 +01:00
Olof hagsand
2770743193
Added new 'ca_userdef' callback
2025-02-13 14:17:58 +01:00
Olof hagsand
5e8f4faee5
Fixed: XPath optimized code does not work with multiple matches
2025-02-07 15:16:29 +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
9bdacc8671
Add a way to report rpc-errors from a plugin
...
Add plugin_rpc_err(), which works something like clixon_err, but it
saves error information from a plugin for reporting rpc-errors that
need to be returned.
Also add plugin_rpc_err_xml(), which does an XML formatted error.
The plugin error is stored in the clixon_handle and retrieved from
there.
Signed-off-by: Corey Minyard <corey@minyard.net>
2025-01-30 15:21:24 +01:00
Corey Minyard
3a1aa4052f
netconf: Generalize the error reporting interface
...
Add some functions to report general XML errors and switch over the
internal functions in netconf to use the new interface. This prepares
the way for reporting 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
bf3451c8ed
YANG: added extension/unknown-stmt to rpc/input+output
2025-01-28 10:44:47 +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
0ad59d3300
show EXPLICIT compare diff only
2025-01-24 13:54:00 +01:00
Olof hagsand
eff01d924c
Build: Fixed unitialized pointer and missing -lm
2025-01-23 14:19:28 +01:00
Olof hagsand
2d709378f7
Make: break directly on compile warning
2025-01-23 12:21:12 +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
b7d91607b6
Fixed memory issue as result of optimization, modify xmldb_copy to reset rather than free
2025-01-16 17:26:23 +01:00
Olof hagsand
fa62eb0872
Undefine yspec namespace optimzation
...
Partly fix yspec namespace optimization but some issues remain
2025-01-12 12:12:24 +01:00
Olof hagsand
b09e326307
C-API: string to pointer map
...
Optimization of yspec+namespace lookup
Optimization of non-presence container default tree
2025-01-10 16:29:50 +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
Roman Khromenok
2a6bbac712
replace select to poll ( #584 )
...
* replace select
* Added poll/select selection during compilation
---------
Co-authored-by: Olof Hagsand <olof@hagsand.se>
2024-12-17 14:30:40 +01:00
Olof hagsand
081a541c6b
XPath: refactored XPath match, documented localonly and prefixonly api
2024-12-17 13:47:23 +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
2790d243e1
CLI: Added meta format pipe-xml-default for cli commands inside pipes
2024-12-09 22:52:23 +01:00
Olof hagsand
69eaf98913
Remove extra lines
2024-12-05 17:35:05 +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
30f9e174fa
Add ping to cli example, misc debug
2024-12-05 15:37:09 +01:00
Olof hagsand
379644a570
Fixed template substitution to work in attributes
2024-12-03 11:14:44 +01:00
Olof hagsand
462b18e0d0
string substitute NULL with ""
2024-11-28 16:44:28 +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
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
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
27c821e3ce
C-API: changed singature to yang_mount_set(y), rm: yang_mount_yspec2ymnt
2024-11-14 11:27:51 +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
daaeaa0039
test: lock-auto
2024-11-08 16:28:08 +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