Olof hagsand
9738345f82
Optimize of multi-db write
2024-05-09 12:18:35 +02:00
Olof hagsand
ca701b0c1a
Changed intermediate version numbers to be git-style, eg 7.0.0-39 instead of 7.1.0-PRE
...
* Changed datastore modstate to be last in file, as prior to 7.0
2024-05-08 16:51:45 +02:00
Olof hagsand
8ebfdb8168
Changed datastore modstate to be last in file, as prior to 7.0
2024-05-08 14:47:44 +02:00
Olof hagsand
b1209aac67
Multi-db: Moved top-level datastore from (eg) running_db to running.d/0.xml
2024-05-08 09:40:27 +02:00
Olof hagsand
af36838b4c
Changed -f /usr/local/etc/example.xml -> /usr/local/etc/clixon/example.xml everywhere
2024-05-07 12:27:51 +02:00
Colin Baumgarten
60fdb65ee0
cli_auto_edit: Fix data below mountpoint cannot be edited
...
Without this fix, every edit affects the mountpoint destination
module directly instead of the same module inside of its mountpoint
container.
2024-05-07 12:25:43 +02:00
Colin Baumgarten
34fff6c270
cli_auto_top: Add missing clear of cli-edit-mtpoint
...
Without that going to the top from inside a mountpoint will lead
to an invalid combination of cli-edit-* states which will in turn
make following commands fail.
2024-05-07 12:25:43 +02:00
Colin Baumgarten
2142a4fd96
cli_dbxml(): Fix handling of mountpoints
...
The function has code to handle mountpoints, however there is
a logic error that prevents that code from ever being run.
Fix that.
2024-05-07 12:25:43 +02:00
Olof hagsand
fcdfbd23cc
Re-optimized yang cardinality
...
Misc rearrangements
2024-05-02 13:34:46 +02:00
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
Kristofer Hallin
bafbf0c7aa
GitHub Actions: Run apt update before downloading packages.
2024-04-29 12:34:38 +02:00
Olof hagsand
f6993de7eb
Optimization of cardinality
2024-04-28 23:13:10 +02:00
Olof hagsand
c57188992b
Optimize get autocli config
2024-04-28 19:38:17 +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
aba5c68fe2
Move format code to options and cleanup
2024-04-16 12:06:46 +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
826a4c3fb3
Fix snmp test (after cli output format example change)
2024-04-06 12: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
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
dcfa367b3d
Test case updated: [NACM create rules do not work properly on objects with default values]( https://github.com/clicon/clixon/issues/506 )
2024-04-01 17:15:33 +02:00
Olof hagsand
91ea38eff0
Fixed: [NACM create rules do not work properly on objects with default values]( https://github.com/clicon/clixon/issues/506 )
2024-04-01 17:02:48 +02:00
Olof hagsand
c9c5d4f813
Added error-info to netconf error-msg for duplicate leaf-lists
...
Test: removed potential duplicate user in nacm.sh
2024-03-27 14:02:13 +01:00
Olof hagsand
df2af320c2
Fixed skipped actions
2024-03-26 12:39:09 +01:00
Olof hagsand
b13320f1a1
Fixed: [CLI: Explicit api-path not encoded correctly]( https://github.com/clicon/clixon/issues/504 )
2024-03-26 11:53:02 +01:00
Olof hagsand
928d7d5b4d
Fixed: [Startup and default of same object causes too-many-elements error]( https://github.com/clicon/clixon/issues/503 )
2024-03-18 17:07:43 +01:00
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
e07fdb3089
Start of 7.1.0.PRE
...
Fixed memleak
2024-03-12 15:07:57 +01:00
Olof hagsand
28050f44f8
Clixon 7.0.0
2024-03-08 09:41:57 +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
a1badc312e
Fixes after coverity static analysis
2024-03-03 17:05:36 +01:00
Olof hagsand
d94b4f5b7c
actions: split docker tests
2024-02-29 21:16:06 +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
d40cfdce8f
Fix tests
2024-02-29 11:30:54 +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