Commit graph

2856 commits

Author SHA1 Message Date
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
5fa82dcea7 Swapped to use chunked framing in internal protocol 2024-02-28 13:38:12 +01:00
Olof hagsand
e4834b9896 NETCONF internal: Enable RFC 6242 chunked encoding 2024-02-27 13:22:50 +01:00
Olof hagsand
db11b5ef99 Changed framing between backend and frontend to RFC6242 "chunked-encoding" 2024-02-27 09:56:48 +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
96f94114e2 Fixed: [Problems with diff of YANG lists ordered-by user](https://github.com/clicon/clixon/issues/496) 2024-02-23 22:08:15 +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
01938b7a64 Generalized template and variable substitution functions
Modified api-path-fmt to uri-encoded only =restval
2024-02-22 12:31:48 +01:00
Olof hagsand
278def125c clixon-config@2024-01-01.yang: Changed semantics of CLICON_VALIDATE_STATE_XML
Minor optimizations
2024-02-22 09:40:07 +01:00
Olof hagsand
a8773fad82 Added us resolution to logs via stderr/stdout 2024-02-19 12:37:21 +01:00
Olof hagsand
b551e9e5c7 Added xml_template_apply 2024-02-19 12:20:52 +01:00
Olof hagsand
9bc60abe2e Fixed memory leaks at -V 2024-02-18 22:42:55 +01:00
Olof hagsand
8f2601bfdf Fixed several backend memory leacks 2024-02-18 17:55:38 +01:00
Olof hagsand
01327fc8f0 Added cli expand_yang() function 2024-02-18 11:21:31 +01:00
Olof hagsand
ea1efe8845 Fix static link problem in example 2024-02-17 22:21:04 +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
6ff1588397 Changed cl:ignore-compare to also include core diff algorithm 2024-02-09 16:18:47 +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
840233d6fa Part 2: Added volatile flag for datastores 2024-02-07 17:42:58 +01:00
Olof hagsand
a668cc2d7c Added volatile flag for datastores 2024-02-07 16:57:41 +01:00
Olof hagsand
9f592911f5 More fix problems with cl:ignore attribute for xml_diff2cbuf & co 2024-02-07 15:57:49 +01:00
Olof hagsand
833e748288 Fixed: [commit goes 2 times](https://github.com/clicon/clixon/issues/488) 2024-02-07 09:31:00 +01:00
Olof hagsand
99deddb47e Fixed: Problem with cl:ignore attribute for show compare 2024-02-06 20:15:48 +01:00
Olof hagsand
d660c01a58 Optimization of xldb_put
Added flags parameter to default functions
removed call to bind
2024-02-06 09:27:51 +01:00
Olof hagsand
23dcb58758 Optimization of PUT 2024-02-05 17:14:36 +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
Philip Prindeville
86f251f343 Add RPC-specific debugging 2024-02-02 09:35:26 +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
Olof hagsand
bca315ef9d Changed call to clixon_proc_socket() from previous commit 2024-01-31 15:08:26 +01:00
Olof hagsand
3149d53564 C-API: Add error socket to clixon_proc_socket() 2024-01-31 14:36:40 +01:00
Olof hagsand
9ecc7e0791 Refactor enum2int API 2024-01-29 10:59:04 +01:00
Olof hagsand
99e9b89056 Upgraded action scripts to Node.20 2024-01-26 12:56:19 +01:00
Olof hagsand
391179730e ADdded proper include files from previous withdefault patch 2024-01-26 10:08:13 +01:00
Olof hagsand
b3ea6b550d Added witddefaults parameter to xml2file and xml2cbuf 2024-01-25 23:12:18 +01:00
Olof hagsand
dff3b25c34 Replaced config cache with a single state flag 2024-01-25 22:50:54 +01:00
Olof hagsand
a97a06d15a Fixed: [yang_enum_int_value() fails if no explicit values are assigned to enums](https://github.com/clicon/clixon/issues/483) 2024-01-24 23:16:57 +01:00
Olof hagsand
60ded12ea7 Fixed: [show compare/diff problems with sorted-by user](https://github.com/clicon/clixon/issues/482) xml_diff() 2024-01-24 10:20:21 +01:00
Olof hagsand
121cd3ed2e Debug: ensured all exit logs are on the format: retval:%s 2024-01-24 10:03:28 +01:00
Olof hagsand
b89d5e2cde Fixed: [show compare/diff problems with sorted-by user](https://github.com/clicon/clixon/issues/482) 2024-01-24 09:45:28 +01:00
Olof hagsand
2c2398d23e text diff ordered by user 2024-01-24 09:36:20 +01:00
Olof hagsand
2fcf3a9cf2 xml diff ordered by user 2024-01-23 15:48:04 +01:00
Olof hagsand
f1cf5c4234 Removed container creators from clixon-lib.yang 2024-01-22 13:05:53 +01:00
Philip Prindeville
981ea5036d Add event-processing logging 2024-01-22 08:46:15 +01:00
Philip Prindeville
aca278ccf9 Interrupted select()'s are detail-level events 2024-01-22 08:46:15 +01:00
Philip Prindeville
23b538e7dc Add datastore-specific logging 2024-01-22 08:46:15 +01:00
Philip Prindeville
42a92f262a Add process-specific logging 2024-01-22 08:46:15 +01:00
Philip Prindeville
f923524378 Add NACM-specific logging 2024-01-22 08:46:15 +01:00
Philip Prindeville
c9dbece32b Emit function/line number in debugging 2024-01-22 08:46:15 +01:00