Olof hagsand
be5a7c418a
Fixed Debug -D msg: dont show length in detailed debug
2024-11-27 10:55:34 +01:00
Olof hagsand
4c57edfc57
System-only config: revert clearing of candidate after commit
...
Add compile-time option SYSTEM_ONLY_CONFIG_CANDIDATE_CLEAR to document
2024-11-25 15:09:10 +01:00
Olof hagsand
0193186272
Fixed: [Change CLICON_NETCONF_DUPLICATE_ALLOW to remove duplicates]( https://github.com/clicon/clixon-controller/issues/160 )
...
C-API: Removed xml_tree_prune_flagged
2024-11-23 10:54:00 +01:00
Olof hagsand
08c8e43fb8
Disable CLICON_XMLDB_SYSTEM_ONLY_CONFIG by default
2024-11-23 08:36:15 +01:00
Olof hagsand
b7b1bf7aa4
System-only config, fixed startup diff
2024-11-19 11:52:54 +01:00
Olof hagsand
313a2caadd
System-only config: Source of truth
...
Candidate, fix system-only in cache when locked or modified, re-read otherwise
Remove system-only from cache after commit
2024-11-15 10:43:53 +01:00
Olof hagsand
27c821e3ce
C-API: changed singature to yang_mount_set(y), rm: yang_mount_yspec2ymnt
2024-11-14 11:27:51 +01:00
Olof hagsand
69b65ad13d
System-only-config
...
* Fix startup diff
* Add system-only to running on startup
* JSON support:
2024-11-04 15:55:23 +01:00
Olof hagsand
3a656fac07
System-only config
...
New `ca_system_only` backend callback for reading system-only data
New `CLICON_XMLDB_SYSTEM_ONLY_CONFIG` configuration option
API: Added `system_only` parameter to clixon_xml2file1()
Cleared running on commit and inited candidate on startup with system-only data
Added callback code in main example
2024-11-04 09:34:27 +01:00
Olof hagsand
54a8f51bfd
Fixed show mem yspec vs ydomain issue
2024-10-28 10:39:04 +01:00
Olof hagsand
b39b7dc674
Mem: pagination leak
2024-10-22 22:47:31 +02:00
Olof hagsand
0a37cf31ab
New version string on the form: 7.1.0-1+11+g2b25294
2024-10-18 17:33:25 +02:00
Olof hagsand
3cad374f33
Formatting and documentation
2024-10-16 12:39:45 +02:00
Olof hagsand
f87ff859a6
Removed list-pagination-partial-state extension
...
Refactored pagination code
Reverted clixon-lib.yang to 2024-04-01 revision
2024-10-16 10:46:54 +02:00
Olof hagsand
b9ff2d083a
YANG domain/spec support
...
cli show mem improvement
2024-10-06 20:07:08 +02:00
Olof hagsand
f0bd103e79
Added new DOMAIN level in YANG spec structure
2024-10-06 10:51:26 +02:00
Olof hagsand
43bfc82942
Break out init of orig-ptr to yang_start() to be made after options
2024-09-28 18:04:04 +02:00
Olof hagsand
8901d00e47
Reworked cli show mem to yang domains
2024-09-26 13:36:14 +02:00
EvgeniiVR
7ea344c51f
add commit failed cb ( #550 )
...
* add revert failed cb
* add revert failed cb
* add commit failed cb
* add commit failed cb
2024-09-18 20:51:09 +02:00
Olof hagsand
dfe5c1bac1
Refactoring of schema mount-points
...
Add new top-level `Y_MOUNTS` and add top-level yangs and mountpoints in yspecs
2024-08-29 17:24:44 +02:00
Olof hagsand
7cc94b3ac5
Some fixex on list pagination remaining attribute
2024-08-20 10:07:03 +02:00
Olof hagsand
c08dac2e5d
YANG optimization: move "when" and "mymodule" to external maps
2024-08-11 14:07:33 +02:00
Olof hagsand
07a1fa164f
List pagination, uniform config/state handling with new attributes
...
New `clixon-lib@2024-04-01.yang` revision and list_pagination_partial_state extension
2024-07-17 14:39:48 +02:00
Olof hagsand
05c881dc39
List pagination: Added where and direction parameter for configured data
2024-07-16 15:33:09 +02:00
Olof hagsand
36f3c95768
List-pagination sort-by parameter
2024-07-11 22:45:15 +02:00
Olof hagsand
4b9ee6740b
C-API changes: Replace yn_each with yn_iter, add keyw argument to yang_stats()
2024-07-04 18:27:14 +02:00
Olof hagsand
9a553bdcaa
Re-add option CLICON_NETCONF_DUPLICATE_ALLOW
2024-06-24 08:40:36 +02:00
Olof hagsand
c2841d6e40
Various memory and file resource cleanup after valgrind tests
2024-06-23 18:46:44 +02:00
Olof hagsand
0234ed94bc
Added CLICON_LOG_DESTINATION and CLICON_LOG_FILE for al applications
2024-06-19 12:46:09 +02:00
Corey Minyard
26062d7003
backend: Consolidate common code in plugin callbacks
...
There was a bunch of repeated code in the calls to the transaction
callbacks. Consolidate it all in one function and call that from the
various transaction handling functions.
Signed-off-by: Corey Minyard <minyard@acm.org>
2024-06-11 16:45:49 +02:00
Olof hagsand
b6480ac07d
clixon-config.yang: Added CLICON_DEBUG, Removed: CLICON_NETCONF_DUPLICATE_ALLOW
...
Rearranged and grouped options
clixon-lib.yang: Added debug types
Removed git reliance in test - moved to configure script
2024-05-21 13:21:55 +02:00
Olof hagsand
03a9c03b1c
Fixed: backend exit when receiving invalid NETCONF get select XPath
...
Added XML encoding to XPaths in `select` attribute
2024-05-15 13:44:12 +02:00
Olof hagsand
2b2a2ec1ad
Restconf native stream support
2024-05-13 08:29:48 +02:00
Olof hagsand
488a532dec
Log: remove trailing \n, added log description
2024-05-09 17:00:01 +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
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
fcdfbd23cc
Re-optimized yang cardinality
...
Misc rearrangements
2024-05-02 13:34:46 +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
407b4703b3
[Autolock]( https://github.com/clicon/clixon/issues/508 )
...
Added option: `CLICON_AUTOLOCK`
2024-04-12 13:09:27 +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
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
322e00cfe2
Deactivate session-id check
2024-02-29 11:31:23 +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
278def125c
clixon-config@2024-01-01.yang: Changed semantics of CLICON_VALIDATE_STATE_XML
...
Minor optimizations
2024-02-22 09:40:07 +01:00