Olof hagsand
e55e05353f
CLI pipe save function
2024-04-09 15: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
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
f3ae28b938
Test: replace namespace with variable
2023-11-28 15:04:13 +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
Olof hagsand
2603b6f139
CLI show compare example function
...
Improved diff algorithm for XML and TEXT/curly, replaced UNIX diff with structural in-mem algorithm
Fixed: ["show compare" and "show compare | display cli" differs #23 ](https://github.com/clicon/clixon-controller/issues/23 )
Changed parameters of example clispec function `compare_dbs()`
Added show2cbuf functions for TEXT/CLI
Renamed clixon_txt2file to clixon_text2file
2023-09-22 10:42:00 +02:00
Olof hagsand
45f41e3e4d
Fixed: [JSON backslash string decoding/encoding not correct]( https://github.com/clicon/clixon/issues/453 )
...
Added unicode BMP support for JSON strings
Test: encoding/decoding tests for UTF-8
2023-09-19 12:28:58 +02:00
Olof hagsand
35ad68fa70
Fixed: [CLI show config | display <format> exits over mountpoints with large YANGs]( https://github.com/clicon/clixon-controller/issues/39 )
2023-09-16 15:48:24 +02:00
Olof hagsand
4e79ac43fb
Example cli pipe grep command quotes vertical bar for OR function
2023-08-29 08:39:22 +02:00
Olof hagsand
2bcd429bee
CLI pipe changes: added arg to tail, exit on error.
2023-08-15 20:45:15 +02:00
Olof hagsand
4a605ff25e
Fixed: ["show configuration devices" and "show configuration devices | display cli" differs]( https://github.com/clicon/clixon-controller/issues/24 )
2023-08-12 16:28:08 +02:00
Olof hagsand
851242a948
Minor valgrind and vagrant problems
2023-07-28 17:16:26 +02:00
Olof hagsand
e0cbc10fad
Pipe function renaming
2023-07-13 14:36:01 +02:00
Olof hagsand
fab8d35dff
Output pipe function detection in configure.ac
2023-07-05 15:49:30 +02:00
Olof hagsand
3858cd93c2
Add pipe functions
2023-07-04 20:50:41 +02:00
Olof hagsand
c16b9cbba4
Use pipe functions from /bin
2023-07-04 09:45:00 +02:00
Olof hagsand
b33603107d
Output pipe functionality
...
Based on output pipe code in CLIgen
Clixon adaptions include `CLICON_PIPETREE=` variable and a new cli_pipe.c callback file
2023-07-03 15:14:11 +02:00