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
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
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
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
be5a7c418a
Fixed Debug -D msg: dont show length in detailed debug
2024-11-27 10:55:34 +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
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
54a8f51bfd
Fixed show mem yspec vs ydomain issue
2024-10-28 10:39:04 +01:00
Olof hagsand
b9ff2d083a
YANG domain/spec support
...
cli show mem improvement
2024-10-06 20:07:08 +02:00
Olof hagsand
f0bd103e79
Added new DOMAIN level in YANG spec structure
2024-10-06 10:51:26 +02:00
Olof hagsand
8901d00e47
Reworked cli show mem to yang domains
2024-09-26 13:36:14 +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
9a553bdcaa
Re-add option CLICON_NETCONF_DUPLICATE_ALLOW
2024-06-24 08:40:36 +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
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
2b2a2ec1ad
Restconf native stream support
2024-05-13 08:29:48 +02:00
Olof hagsand
488a532dec
Log: remove trailing \n, added log description
2024-05-09 17:00:01 +02:00
Olof hagsand
bd290e4594
Fixed: Fail on return errors when reading from datastore
2024-04-24 13:48:06 +02:00
Olof hagsand
1be158b7be
NACM: Improved error message when no username included, and added username
2024-04-14 12:15:01 +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
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
6b8f7754b8
Fixed: [If services add duplicate entries, controller does not detect this]( https://github.com/clicon/clixon-controller/issues/107 )
...
Rename function `xml_yang_minmax_recurse()` -> `xml_yang_validate_minmax()`
2024-03-07 08:38:40 +01:00
Olof hagsand
322e00cfe2
Deactivate session-id check
2024-02-29 11:31:23 +01:00
Olof hagsand
4138f390d4
Internal framing: fcgi error
...
CLI continue error
enable msg recv interrupt
2024-02-28 20:38:33 +01:00
Olof hagsand
520f8a9a42
Remove propriatary internal framing functions
...
Changed send/rcv API using NETCONF 10 and 11 suffixes
2024-02-28 13:38:32 +01:00
Olof hagsand
4e3bd6fbdd
Symbolic and combined debug names in cmd-line of all applications
...
New debug levels: BACKEND, CLI, NETCONF,RESTCONF, SNMP, STREAM
2024-02-02 11:54:12 +01:00
Olof hagsand
121cd3ed2e
Debug: ensured all exit logs are on the format: retval:%s
2024-01-24 10:03:28 +01:00
Philip Prindeville
cf2e27b43d
Drop __FUNCTION__ from clixon_debug() calls
2024-01-11 17:29:37 +01:00
Philip Prindeville
0ec1e0a686
Discriminate APP debugging
2024-01-10 20:06:38 +01:00
Philip Prindeville
063c8d664f
Messages can't be DETAIL alone so pair with DEFAULT
2024-01-10 20:06:38 +01:00
Olof hagsand
7b58c1c562
Fixed: kill-session cleanup when client none existant, and for all db:s
...
Added cli_kill_session callback
2023-12-22 22:27:54 +01:00
Olof hagsand
24a4991ec8
Restructured error,debug anf log API
...
Renamed functions clicon->clixon, replaced global variables w access functions
Unified clicon_netconf_error with clixon_err()
2023-12-18 08:29:14 +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
62348fc9c7
C-style update: Unified comment, retvals in order, remove trailing spaces
...
Changed function name for `clicon_debug` functions
2023-10-23 09:58:13 +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
Philip Prindeville
dc0f740a04
Avoid copying timeval onto stack
2023-08-15 18:02:14 +02:00
Olof Hagsand
5d95857a29
Memory leak in stats
2023-07-04 06:44:01 +00: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
Olof hagsand
f8324df917
Creator tagging for leafs, sort-modules: remove flag setting, yang_lib2yspec patch
2023-04-13 21:11:57 +02:00
Olof hagsand
6335f810d3
C-API: clixon_xml2file and clixon_xml2cbuf added prefix argument
...
Added in-mem xml diff function: `xml_tree_diff_print`
2023-04-12 10:44:58 +02:00
Olof hagsand
45d8e5b6ce
C-API xmldb_validate() removed. compare_db_names() added.
2023-04-09 21:13:12 +02:00
Olof Hagsand
7eb37273b8
Formatting of comments
2023-03-30 15:39:35 +02:00
Olof hagsand
5822c1a72a
* clicon_msg_rcv: Added intr parameter for interrupting on ^C (default 0)
...
* Internal NETCONF (client <-> backend)
* Ensure message-id increments
* Separated rpc from notification socket in same session
* Removed coverage icon from homepage since it stopped working some time ago
2023-03-08 21:41:29 +01:00
Olof hagsand
5f2978d06c
Files: Rearranged backend .h files: moved client_entry to clixon_backend_client.h
2023-03-03 16:05:31 +01:00
Olof hagsand
55422f4187
PERF: Added a recurse parameter to xml_yang_minmax_recurse() to avoid "double recursion"
...
C-API: `candidate_commit()`: validate_level (added in 6.1) marked obsolete
2023-02-23 11:42:15 +01:00
Olof hagsand
7868cf0a0d
Docker example: fixed scripts to run multiple instances
...
Fixed parenthesis typo in purge code
2023-02-10 11:51:41 +01:00