Commit graph

1509 commits

Author SHA1 Message Date
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
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
Mico Micic
7d70325125 Add test 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
Olof hagsand
05c881dc39 List pagination: Added where and direction parameter for configured data 2024-07-16 15:33:09 +02:00
Olof hagsand
36f3c95768 List-pagination sort-by parameter 2024-07-11 22:45:15 +02:00
Olof hagsand
ad5312d824 Add ietf-system-capabilities and adapt all tests 2024-07-09 17:38:07 +02:00
Olof hagsand
78cd42c15d Test: mem.sh rm files, rm commit tests from datastore_multi 2024-06-23 10:49:13 +02:00
Olof hagsand
5b8828c530 YANG ref count for shared fixed 2024-06-22 21:19:52 +02:00
Olof hagsand
5351ac0ffc Test: vagrant update 2024-06-22 16:30:27 +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
ef89561215 CLI: improved show memory command 2024-06-08 14:51:36 +02:00
Olof hagsand
25e1bade8f RESTCONF notification for HTTP/2 native mode 2024-06-06 17:04:53 +02:00
Olof hagsand
80d03fb5b0 test: adding correct x509 v3 CA cert 2024-05-31 08:48:00 +02:00
Olof hagsand
8098fb031f Test: check openssl 3.3.0 for x509 v1 2024-05-28 19:44:38 +02:00
Olof hagsand
c377a28d56 Use x509 v1 certs for test use in openssl 3.3
Switch back to alpine 3.20
2024-05-28 17:29:27 +02:00
Olof hagsand
1412b416f6 Filter duplicate NETCONF requests on the same object causing memory fault 2024-05-27 14:09:04 +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
1336a4ccfb RESTCONF notification for native mode 2024-05-19 17:44:24 +02:00
Olof hagsand
62a4b5feff Restconf native+http/1 + tls
Added command-line timeout -t <sec> to restconf
Example: Added programmable timeout to backend example
Test: updated for fcgi and native using internal timeouts
2024-05-13 23:13:05 +02:00
Olof hagsand
2b2a2ec1ad Restconf native stream support 2024-05-13 08:29:48 +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
Olof hagsand
b1209aac67 Multi-db: Moved top-level datastore from (eg) running_db to running.d/0.xml 2024-05-08 09:40:27 +02:00
Olof hagsand
fcdfbd23cc Re-optimized yang cardinality
Misc rearrangements
2024-05-02 13:34:46 +02:00
Olof hagsand
f511cb0030 Split config into multiple sub-files on mount-point boundaries and dont write clean subfiles
Added CLICON_XMLDB_MULTI option, added cl:xmldb-split extension
2024-04-25 14:58:14 +02:00
Olof hagsand
344786a971 Fixed: [Duplicate config files in configdir causes merge problems -> set ? = NULL](https://github.com/clicon/clixon/issues/510)
Made file-dir match more exact, eg .cli not ?cli
Added -1 as any arg to xml_rm_children()
2024-04-11 12:02:08 +02:00
Olof hagsand
f9faf1039a Example: added cli pipe 2024-04-09 14:23:36 +02:00
Olof hagsand
826a4c3fb3 Fix snmp test (after cli output format example change) 2024-04-06 12:17:06 +02:00
Olof hagsand
60a774cbf7 CLI configurable format: [Default format should be configurable](https://github.com/clicon/clixon-controller/issues/87)
Added option: `CLICON_CLI_OUTPUT_FORMAT` - Default CLI output format
2024-04-06 12:02:12 +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
Mico Micic
5c05748cfe Implement SNMP bits data type support 2024-04-03 10:19:34 +02:00
Olof hagsand
dcfa367b3d Test case updated: [NACM create rules do not work properly on objects with default values](https://github.com/clicon/clixon/issues/506) 2024-04-01 17:15:33 +02:00
Olof hagsand
91ea38eff0 Fixed: [NACM create rules do not work properly on objects with default values](https://github.com/clicon/clixon/issues/506) 2024-04-01 17:02:48 +02:00
Olof hagsand
c9c5d4f813 Added error-info to netconf error-msg for duplicate leaf-lists
Test: removed potential duplicate user in nacm.sh
2024-03-27 14:02:13 +01:00
Olof hagsand
b13320f1a1 Fixed: [CLI: Explicit api-path not encoded correctly](https://github.com/clicon/clixon/issues/504) 2024-03-26 11:53:02 +01: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
Mico Micic
d40cfdce8f Fix tests 2024-02-29 11:30:54 +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
e4834b9896 NETCONF internal: Enable RFC 6242 chunked encoding 2024-02-27 13:22:50 +01:00
Olof hagsand
8f2601bfdf Fixed several backend memory leacks 2024-02-18 17:55:38 +01:00
Olof hagsand
ea1efe8845 Fix static link problem in example 2024-02-17 22:21:04 +01:00
Olof hagsand
3b0b734de1 Fix same -V version string
Restconf exit segv
2024-02-17 22:11:35 +01:00
Olof hagsand
4ee6b48abe Fixed: [show compare does not show correct diff while load merge xml](https://github.com/clicon/clixon-controller/issues/101)
Diff code did not check non-yang leaf/terminal values
2024-02-08 10:41:13 +01:00
Olof hagsand
23dcb58758 Optimization of PUT 2024-02-05 17:14:36 +01:00
Olof hagsand
f8de2b7c0a Optimized datastore access by ensuring REPORT_ALL in memory and EXPLICIT in file 2024-02-01 20:42:25 +01:00
Olof hagsand
9989ee4d52 Removed other datastore options than cached
Marked `CLICON_DATASTORE_CACHE` as obsolete
2024-02-01 19:28:41 +01:00