Commit graph

3076 commits

Author SHA1 Message Date
Olof hagsand
158ea40b59 Restconf: Fixed http accept/content-type logic
yang mem-leak
2024-09-16 14:24:20 +02:00
Olof hagsand
f1d9e26755 Restconf: Notify ssl version on start
SNMP: rm unused variables
2024-09-15 11:58:44 +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
Mico Micic
f5372fb124 Add username when reading and subscribing streams 2024-09-06 13:54:56 +02:00
Mico Micic
5af422f09b Check libcrypto before libssl to avoid configure errors 2024-09-06 13:32:46 +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
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
a66fe05149 Test: Restconf accept encoding tests 2024-09-03 08:34:20 +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
19c11eabb7 YANG mount refactoring: remove set functions 2024-09-01 16:45:39 +02:00
Olof hagsand
73183c4077 Typo for schema mtpoint refactoring for restconf fcgi 2024-08-30 10:36:36 +02:00
Olof hagsand
b0ec866544 when_xpath memory fixes and trimmed perf 2024-08-29 17:57:52 +02:00
Olof hagsand
911594ead1 Fixed show mem total yang output
Fixed log message for mount error
2024-08-29 17:55:28 +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
99503ac7fb Minor perf improve of NETCONF input read 2024-08-23 09:54:42 +02:00
Olof hagsand
26ca872b0c Transform YANG when expressions to canonical xpath form 2024-08-23 08:39:32 +02:00
Olof hagsand
71e921520e Improved customized error handling 2024-08-20 11:05:52 +02:00
Olof hagsand
7cc94b3ac5 Some fixex on list pagination remaining attribute 2024-08-20 10:07:03 +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
Kristofer Hallin
f0eadc6e32 Fixed: [HOST_VENDOR must be defined before we use it](https://github.com/clicon/clixon/issues/541) 2024-08-20 09:37:54 +02:00
Kristofer Hallin
3b45cf9f4d Fixed: [Handle missing SOCK_NONBLOCK on MacOS](https://github.com/clicon/clixon/issues/540) 2024-08-20 09:37:54 +02:00
Olof hagsand
d6622772bf Added new autocli revision in test 2024-08-18 14:16:38 +02:00
Olof hagsand
619719bb4d autocli: forgot add yang file in prev commit 2024-08-18 14:10:51 +02:00
Olof hagsand
7ed3973b8d autocli: fix for disable rule in previous commit 2024-08-18 14:01:16 +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
Olof hagsand
1709537701 Replaced clixon_get_logflags() with clixon_logflags_get()
Added `clixon_logflags_set()`
2024-08-16 10:31:52 +02:00
Olof hagsand
39fb149756 Modified YANG deviate+derived solution
Changed flag to YANG_FLAG_REFINE
More complete test
2024-08-16 09:19:15 +02:00
Olof hagsand
442e0391cc Added YANG deviate flag to not follow orig links
Fixed unbounded loop in deviation
2024-08-15 18:47:48 +02:00
Olof hagsand
05263e942a Dockerfile: changed maintainer to label 2024-08-15 11:16:20 +02:00
Olof hagsand
658ad5504e regcomp issue on alpine, RE_DUP_MAX =255, Fixed by match-all fallback 2024-08-15 11:13:43 +02:00
Olof hagsand
bd5214dde1 Optmize YANG memory: Yang-type cache only for original trees 2024-08-13 13:48:53 +02:00
Olof hagsand
9da4939ee0 C-API: Extended yang_apply return value with: 2
Test: openconfig: ensure openconfig dirs searched before locally cached
2024-08-13 13:32:06 +02:00
Olof hagsand
c08dac2e5d YANG optimization: move "when" and "mymodule" to external maps 2024-08-11 14:07:33 +02:00
Olof hagsand
275cefbae7 Moved map functions from clixon_string to _map, new ptr2ptr map 2024-08-10 13:42:37 +02:00
Olof hagsand
781c9d9d27 YANG optimize, add orig pointer for derived trees
Skip some yang objects in derived trees
Add function to remove USES in augment/grouping trees
2024-08-09 12:03:14 +02:00
Olof hagsand
ca786da156 Fixed signal handling of recv message
Revert to signal handling in 6.5 that was changed in the netconf uniform handling in 7.0
2024-08-06 11:27:20 +02:00
Mico Micic
a2fe24937b Set pointer to NULL after free 2024-08-01 06:51:28 +02:00
Mico Micic
87921cb740 Add snmp trap settings for test 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
7d70325125 Add test for snmp v2 traps 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
af29a0f974 Added YANG_SPEC_LINENR compile-time option 2024-07-31 14:33:31 +02:00
Olof hagsand
aa4feee03e New: [CLI simple alias](https://github.com/clicon/cligen/issues/112) 2024-07-24 17:14:38 +02:00
Olof hagsand
9ee55441ac Pagination test/doc errors 2024-07-22 09:23:02 +02:00
Olof hagsand
816238029d Fixed: [NETCONF error reply from failed leafref rquire-instance does not comply to RFC 7950](https://github.com/clicon/clixon/issues/53 2024-07-22 09:18:27 +02:00
Olof hagsand
07a1fa164f List pagination, uniform config/state handling with new attributes
New `clixon-lib@2024-04-01.yang` revision and list_pagination_partial_state extension
2024-07-17 14:39:48 +02:00