Olof hagsand
4138f390d4
Internal framing: fcgi error
...
CLI continue error
enable msg recv interrupt
2024-02-28 20:38:33 +01:00
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
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
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
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
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
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
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
Olof hagsand
d5a8d6b6e1
Fixed: segv on exit
...
Test: rm openconfig-interface
2024-01-10 20:10:38 +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
Philip Prindeville
86667a0190
Don't use literal for CLIXON_DBG_XXX
2024-01-10 20:06:38 +01:00
Olof hagsand
7b58c1c562
Fixed: kill-session cleanup when client none existant, and for all db:s
...
Added cli_kill_session callback
2023-12-22 22:27:54 +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
Philip Prindeville
b9ed302de1
Remove hardcoded paths to commands, configs, etc. in source
2023-11-28 16:42:33 +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
e9c5287c36
Debug: improved debug level 2 with socket-description, also for notification
2023-11-01 13:48:41 +01:00
Alexander Skorichenko
71431dcd82
Let restart-plugin RPC pick up on yang's defaults
...
In the transaction that applies plugin's config don't include
yang's defaults in the transaction source.
2023-10-31 14:57:20 +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
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
Philip Prindeville
959e060995
Use clicon_err() consistently and drop perror()
2023-10-21 18:29:23 +02:00
Olof hagsand
9091582087
Low-level message functions added descr argument for better logging C-API change
2023-09-12 10:08:32 +02:00
Olof hagsand
3b08653eb4
Added: [Feature request: node's alias for CLI]( https://github.com/clicon/clixon/issues/434 )
...
New `clixon-autocli@2023-09-01.yang` revision
Misc typos
2023-08-31 18:00:29 +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
Olof hagsand
c101799e74
New command-line option for dumping configuration options for all clixon applications after load
...
Removed -s dump
2023-08-22 12:41:36 +02:00
Philip Prindeville
d1b8dcdf1f
Add -s dump-xml mode
2023-08-20 13:00:51 +02:00
Olof hagsand
7352894c7e
Removed sending restconf config inline using -R when CLICON_BACKEND_RESTCONF_PROCESS=true
...
Define RESTCONF_INLINE to revert
2023-08-15 20:45:15 +02:00
Philip Prindeville
dc0f740a04
Avoid copying timeval onto stack
2023-08-15 18:02:14 +02:00
Olof Hagsand
5d95857a29
Memory leak in stats
2023-07-04 06:44:01 +00:00
Olof hagsand
a1e7c6f126
Modified backend exit strategy so that 2nd ^C actually exits
...
Copied creator cvec if modified with REPLACE
2023-06-13 13:34:57 +02:00
Olof hagsand
8091b4ab7e
Added fdkeep parameter to clixon_process_register
2023-06-08 15:51:16 +02:00
Olof hagsand
8598fca688
Add gid to clixon_process_register() for drop privs
2023-06-02 13:38:00 +02:00
Olof hagsand
080eef0278
C-API: Added cli_process_control(), added uid to cli_process_control()
2023-06-01 17:50:23 +02:00
Olof hagsand
86ef8053a2
Typo in previous commit
2023-05-29 10:55:05 +02:00
Olof hagsand
a97a66cb92
Performance: A change in the merge code made "co-located" config and non-config get retrieval go considerable faster.
2023-05-29 10:47:00 +02:00
Olof hagsand
b6116261a3
* Restructured and extended <stats> rpc to schema mountpoints
...
* New revision of clixon-lib.yang
* CLI: Added `show statistics` example code for backend and CLI memory stats
2023-05-05 17:54:10 +02:00
Olof hagsand
e8a8b17e1b
Removed obsolete compile options introduced in 6.1:
...
`NETCONF_DEFAULT_RETRIEVAL_REPORT_ALL` and `AUTOCLI_DEPRECATED_HIDE`
2023-05-05 08:55:47 +02:00
Olof hagsand
f8324df917
Creator tagging for leafs, sort-modules: remove flag setting, yang_lib2yspec patch
2023-04-13 21:11:57 +02:00
Olof hagsand
6335f810d3
C-API: clixon_xml2file and clixon_xml2cbuf added prefix argument
...
Added in-mem xml diff function: `xml_tree_diff_print`
2023-04-12 10:44:58 +02:00
Olof hagsand
819a0b5a9e
New clixon-lib@2023-03-01.yang revision
...
* Added creator meta-object
2023-04-11 13:50:45 +02:00