Commit graph

136 commits

Author SHA1 Message Date
Olof hagsand
1580aa7a2c Add -lm for static compile + minor test changes for 7.3 2025-01-28 09:13:18 +01:00
Olof hagsand
69eaf98913 Remove extra lines 2024-12-05 17:35:05 +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
947128339c snmp getpwuid leak 2024-10-27 11:50:44 +01: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
f0bd103e79 Added new DOMAIN level in YANG spec structure 2024-10-06 10:51:26 +02:00
Olof hagsand
43bfc82942 Break out init of orig-ptr to yang_start() to be made after options 2024-09-28 18:04:04 +02:00
Olof hagsand
f1d9e26755 Restconf: Notify ssl version on start
SNMP: rm unused variables
2024-09-15 11:58:44 +02:00
Mico Micic
f5372fb124 Add username when reading and subscribing streams 2024-09-06 13:54:56 +02:00
Mico Micic
4553419cc2 Support multiple notifications when sending snmo v2 traps 2024-09-06 13:29:12 +02:00
Mico Micic
302d61d1d1 Support leafref when reading smiv2:oid value 2024-09-06 13:26:10 +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
c08dac2e5d YANG optimization: move "when" and "mymodule" to external maps 2024-08-11 14:07:33 +02:00
Mico Micic
a2fe24937b Set pointer to NULL after free 2024-08-01 06:51:28 +02:00
Mico Micic
1a248b75e5 Fix memory leak 2024-08-01 06:51:28 +02:00
Mico Micic
8ee9b82152 Fix code formatting and naming 2024-08-01 06:51:28 +02:00
Mico Micic
48a15a87f1 Fix missing include 2024-08-01 06:51:28 +02:00
Mico Micic
4920b9d32b Add support for snmp v2 traps 2024-08-01 06:51:28 +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
0234ed94bc Added CLICON_LOG_DESTINATION and CLICON_LOG_FILE for al applications 2024-06-19 12:46:09 +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
Mico Micic
427a7db88a Adapt to new bits library functions api 2024-04-03 10:19:34 +02:00
Mico Micic
a8e8ab997e Code formatting 2024-04-03 10:19:34 +02:00
Mico Micic
5c05748cfe Implement SNMP bits data type support 2024-04-03 10:19:34 +02:00
Olof hagsand
22c09b79f7 Add SNMP bits type 2024-02-29 14:20:03 +01:00
Mico Micic
891b0b0c9e SNMP octet scring has a defined length and does not need a null separator 2024-02-29 11:30:54 +01:00
Olof hagsand
9f73014500 Added yspec parameter to api_path_fmt2api_path()
Added "%k" as extra flag character to api-path-fmt
2024-02-26 13:18:26 +01:00
Olof hagsand
c5b852f6b1 snmp: changed termination order causing error due to new logging 2024-02-22 14:17:36 +01:00
Olof hagsand
9bc60abe2e Fixed memory leaks at -V 2024-02-18 22:42:55 +01:00
Olof hagsand
ff171afd65 Added debug level INIT 2024-02-17 22:16:56 +01:00
Olof hagsand
3b0b734de1 Fix same -V version string
Restconf exit segv
2024-02-17 22:11:35 +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
9ecc7e0791 Refactor enum2int API 2024-01-29 10:59:04 +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
0fff9d8ef5 Fixes after coverity analysis 2023-12-30 19:49:03 +01:00
Olof hagsand
f25a77734e More updates for Error/Log/Debug API changes 2023-12-18 17:19:14 +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
261469be16 Feature: [Add support for -V option to give version](https://github.com/clicon/clixon/issues/472) 2023-12-14 23:10:51 +01:00
Olof hagsand
16a7fa3837 SNMP union leak (see https://github.com/clicon/clixon/pull/461)
Added docker-snmp-mem test
2023-11-02 16:26:21 +01:00
Olof hagsand
978586a493 Fixed customized errors: fcgi and snmp 2023-10-26 15:32:25 +02:00
Olof hagsand
5bdad1870e New feature: [Customized NETCONF error message](https://github.com/clicon/clixon/issues/454)
* Added new callback `.ca_errmsg`
* Changed signature of `clicon_netconf_error()` and `netconf_err2cb()`
2023-10-26 14:59:51 +02: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
1698c6717e Fixed undeclared variables in SNMP 2023-08-23 11:18:32 +02:00
Olof hagsand
a7ef2c4f12 Rewrote parsing of extra config-files to work recursively over structured data
Fixed that modified config variables were not properly overwritten in XML
Added `pretty` parameter to clicon_options_dump
Added testcases for recursive and structure extra config files
2023-08-23 11:10:24 +02:00
Olof hagsand
124afb8788 Modified -C command-line handling and added to SNMP 2023-08-23 10:52:47 +02:00