Olof hagsand
59b3100704
Adjusted code to not rely on COMPAT_6_5 API
...
Leak in optimize xpath code
2024-03-14 15:35:15 +01:00
Mico Micic
d3587b8646
Fix pr review findings (typos and formatting)
2024-03-12 15:22:50 +01:00
Mico Micic
4f306056ea
Add helper functions for bits data type
2024-03-12 15:22:50 +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
Olof hagsand
4138f390d4
Internal framing: fcgi error
...
CLI continue error
enable msg recv interrupt
2024-02-28 20:38:33 +01:00
Olof hagsand
5fa82dcea7
Swapped to use chunked framing in internal protocol
2024-02-28 13:38:12 +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
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
b551e9e5c7
Added xml_template_apply
2024-02-19 12:20:52 +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
a668cc2d7c
Added volatile flag for datastores
2024-02-07 16:57:41 +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
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
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
Philip Prindeville
981ea5036d
Add event-processing logging
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
Olof hagsand
88b60daa75
Revert and obsolete the creators attribute feature introduced in 6.2.
2024-01-21 12:58:51 +01:00
Olof hagsand
465a5999fe
Changed function name: choice_case_get() -> yang_choice_case_get()
...
Rewrote yang_choice()
2024-01-17 13:06:56 +01:00
Olof hagsand
344f5ec39d
Remove USE_CONFIG_FLAG_CACHE, been enabled long time
2024-01-12 11:24:24 +01:00
Philip Prindeville
9dbca0c562
Shuffle debugging category/level bits
2024-01-11 17:29:37 +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
20b233e96f
Allow more complex debugging like YANG with DETAIL
2024-01-10 20:06:38 +01:00
Philip Prindeville
762c9fcbd8
Fix references to undefined types
2024-01-10 20:06:38 +01:00
Olof hagsand
ea645d1334
New clixon-lib@2024-01-01.yang revision
...
* Replaced container creators to grouping/uses
2024-01-09 10:42:33 +01:00
Olof hagsand
9e54f0602f
Changed ca_errmsg callback to a more generic variant
...
Includes all error, log and debug messages
See [Customized NETCONF error message](https://github.com/clicon/clixon/issues/454 )
2024-01-05 16:41:53 +01:00
Olof hagsand
558a0df1f3
Fixed proper restore of cttl-C in msg rcv
...
Rename and move plugin_context_check to clixon_resource_check
2023-12-21 15:00:12 +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
e619632ac7
Optimization: Added mountpoint cache as yang flag YANG_FLAG_MTPOINT_POTENTIAL
...
Filter state-data w xpath
2023-12-12 14:12:50 +01:00
Olof hagsand
012158fb24
Optimization of yang_find()
2023-12-10 21:03:46 +01:00
Olof hagsand
574106125f
Added reference count for shared yang-specs (schema mounts)
2023-12-06 13:48:41 +01:00
Olof hagsand
c46872c3fd
Fix mount memory leakage, Add YANG_FLAG_MOUNTPOINT
2023-11-29 18:59:13 +01:00
Olof hagsand
bbcb4a7b03
Creator attribute changes: added as xmldb metadata
...
clixon-config.yang: New revision and Added `CLICON_NETCONF_CREATOR_ATTR` option
clixon-lib.yang: Added creator meta
Changed return value of xml_add_attr
2023-11-28 14:44:01 +01:00
Olof hagsand
be3001acf5
XML: Add XML_FLAG_ANYDATA to mimic an xml node to be ANYDATA
2023-11-23 18:44:17 +01:00
Olof hagsand
aaab8a4920
Fixed: [NACM paths don't work for mounted YANG models]( https://github.com/clicon/clixon-controller/issues/62 )
2023-11-15 16:47:33 +01:00
Olof hagsand
597cbe882b
Yang schema mount fix: canonical paths and register on conatiner instead of unknown
2023-11-14 19:35:17 +01:00
Olof hagsand
2f88ef3ed6
Fixed: [cl:creator attribute must be persistent]( https://github.com/clicon/clixon-controller/issues/54 )
2023-11-03 14:06:41 +01: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