maverick0815
d2f3405ab6
Use yacc and lex as detected by autoconf to build restconf
...
Setup YACC and LEX via autoconf
On opensuse tumbleweed I had a build error because the wrong lex variant was used without this.
This is the same as in lib/src/Makefile.in
2024-04-29 21:00:21 +02:00
Olof hagsand
7e1a00669c
Event priority. Backend socket has higher prio.
2024-04-25 14:58:41 +02:00
Olof hagsand
f511cb0030
Split config into multiple sub-files on mount-point boundaries and dont write clean subfiles
...
Added CLICON_XMLDB_MULTI option, added cl:xmldb-split extension
2024-04-25 14:58:14 +02:00
Olof hagsand
bd290e4594
Fixed: Fail on return errors when reading from datastore
2024-04-24 13:48:06 +02:00
Olof hagsand
1be158b7be
NACM: Improved error message when no username included, and added username
2024-04-14 12:15:01 +02:00
Olof hagsand
87e49ca37a
Updated cli_kill_session
2024-04-12 16:17:45 +02:00
Olof hagsand
407b4703b3
[Autolock]( https://github.com/clicon/clixon/issues/508 )
...
Added option: `CLICON_AUTOLOCK`
2024-04-12 13:09:27 +02:00
Olof hagsand
331585f45b
CLI: Added multiple inline commands separated by ;
2024-04-12 12:36:20 +02:00
Olof hagsand
344786a971
Fixed: [Duplicate config files in configdir causes merge problems -> set ? = NULL]( https://github.com/clicon/clixon/issues/510 )
...
Made file-dir match more exact, eg .cli not ?cli
Added -1 as any arg to xml_rm_children()
2024-04-11 12:02:08 +02:00
Olof hagsand
e55e05353f
CLI pipe save function
2024-04-09 15:17:06 +02:00
Olof hagsand
f9faf1039a
Example: added cli pipe
2024-04-09 14:23:36 +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
bd3a841103
New clixon-config@2024-04-01.yang revision
...
Added options: `CLICON_NETCONF_DUPLICATE_ALLOW` - Disable duplicate check in NETCONF messages
New `clixon-lib@2024-04-01.yang` revision
2024-04-03 17:40:32 +02:00
Olof hagsand
9826ac16ff
Formatting and CHANGELOG updates
2024-04-03 17:40:32 +02:00
Mico Micic
427a7db88a
Adapt to new bits library functions api
2024-04-03 10:19:34 +02:00
Mico Micic
a8e8ab997e
Code formatting
2024-04-03 10:19:34 +02:00
Mico Micic
5c05748cfe
Implement SNMP bits data type support
2024-04-03 10:19:34 +02: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
a1badc312e
Fixes after coverity static analysis
2024-03-03 17:05:36 +01:00
Olof hagsand
22c09b79f7
Add SNMP bits type
2024-02-29 14:20:03 +01:00
Olof hagsand
322e00cfe2
Deactivate session-id check
2024-02-29 11:31:23 +01:00
Mico Micic
891b0b0c9e
SNMP octet scring has a defined length and does not need a null separator
2024-02-29 11:30:54 +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
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
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
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
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
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
9ecc7e0791
Refactor enum2int API
2024-01-29 10:59:04 +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
b258fc625c
Missed a few instances of __FUNCTION__ in clixon_debug*()
2024-01-12 11:10:52 +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
Philip Prindeville
af77da38bb
Discriminate XPath debugging
2024-01-10 20:06:38 +01:00
Olof hagsand
a94756c799
expand_augment
2024-01-09 20:06:20 +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