Commit graph

2917 commits

Author SHA1 Message Date
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
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
9e6557aad1 Fixed: [Choice and Leafref](https://github.com/clicon/clixon/issues/469) 2024-01-17 12:31:13 +01:00
Olof hagsand
bb603e0a83 New clixon-config@2024-01-01.yang revision 2024-01-15 14:39:33 +01:00
Olof hagsand
c1df8a92ba Typo in previous commit 2024-01-15 08:28:32 +01:00
Olof hagsand
1048ab5c5d Debug: Restore -D 2 for send msg 2024-01-15 08:25:31 +01:00
Olof hagsand
344f5ec39d Remove USE_CONFIG_FLAG_CACHE, been enabled long time 2024-01-12 11:24:24 +01:00
Philip Prindeville
b258fc625c Missed a few instances of __FUNCTION__ in clixon_debug*() 2024-01-12 11:10:52 +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
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
7e0075dcbb Discriminate MSG debugging 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
Philip Prindeville
2a90faf012 Clixon Add 'when' debugging 2024-01-10 20:06:38 +01:00
Philip Prindeville
1e343c3dcd Clixon Add debugging for 'must' 2024-01-10 20:06:38 +01:00
Philip Prindeville
11e28eedec Discriminate XML debugging 2024-01-10 20:06:38 +01:00
Philip Prindeville
af77da38bb Discriminate XPath debugging 2024-01-10 20:06:38 +01:00
Philip Prindeville
cb134875f9 Discriminate YANG 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
a94756c799 expand_augment 2024-01-09 20:06:20 +01:00
Olof hagsand
907da6ab9a Revert premature default optimize fix 2024-01-09 10:59:34 +01:00
Olof hagsand
7b5dc3d24c Upgrade creator-attr code 2024-01-09 10:52:32 +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
74ed09b36e Test: revised openconfig-interfaces 2024-01-08 14:19:53 +01:00
Olof hagsand
04a548ad78 Fixed: [Problem deleting non-last list element if ordered-by user](https://github.com/clicon/clixon/issues/475) 2024-01-07 16:52:04 +01:00
Olof hagsand
cb3e74971d Partial fix for https://github.com/clicon/clixon/issues/475
Remove sanity check for insert/search which does not hold for NETCONF attributes
2024-01-06 18:27:21 +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
798a9fbfcb Reworked exand/completion code for mountpoints
Fixed: [Tab completion mounted devices with lists](https://github.com/clicon/clixon-controller/issues/72)
2024-01-02 09:33:46 +01:00
Olof hagsand
0fff9d8ef5 Fixes after coverity analysis 2023-12-30 19:49:03 +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
f25a77734e More updates for Error/Log/Debug API changes 2023-12-18 17:19:14 +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
2f81a086c8 Fix for the previous netconf_err2cb commit 2023-12-14 11:24:53 +01:00
Olof hagsand
7713e79dc2 Netconf error callback resilient to prefixes
Reformat json code
2023-12-14 10:08:34 +01:00