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
739d052383
Fixed: [SNMP: snmpwalk is slow and can timeout]( https://github.com/clicon/clixon/issues/404 )
2024-10-31 16:28:30 +01:00
Olof hagsand
469bfdd3f2
7.2.0 changes
2024-10-28 13:53:39 +01:00
Olof hagsand
0307aa5374
Fixed: [YANG 'when' does not work in multiple grouping]( https://github.com/clicon/clixon/issues/572 )
2024-10-28 12:06:28 +01:00
Olof hagsand
54a8f51bfd
Fixed show mem yspec vs ydomain issue
2024-10-28 10:39:04 +01:00
Olof hagsand
947128339c
snmp getpwuid leak
2024-10-27 11:50:44 +01:00
Olof hagsand
b39b7dc674
Mem: pagination leak
2024-10-22 22:47:31 +02:00
Olof hagsand
fa93364953
Restconf mem leak
2024-10-22 12:44:49 +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
5ebc5a2219
Re-added shared yang mounts
...
YANG: de-dperecated CLICON_YANG_SCHEMA_MOUNT_SHARE
2024-10-06 15:46:15 +02:00
Olof hagsand
f0bd103e79
Added new DOMAIN level in YANG spec structure
2024-10-06 10:51:26 +02:00
Olof hagsand
f0f3ed0dff
Optimize autocli memory: Late evaluation of uses/grouping
2024-09-28 18:25:03 +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
ba40f5a929
Move debug msg to msg+detail, only msg length in debug level msg
...
Move log warning of namespace mismatch to debug
2024-09-27 14:45:08 +02:00
Olof hagsand
8901d00e47
Reworked cli show mem to yang domains
2024-09-26 13:36:14 +02:00
Olof hagsand
c06945ec37
Set domain as yang-spec name
2024-09-25 19:03:26 +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
158ea40b59
Restconf: Fixed http accept/content-type logic
...
yang mem-leak
2024-09-16 14:24:20 +02:00
Olof hagsand
f1d9e26755
Restconf: Notify ssl version on start
...
SNMP: rm unused variables
2024-09-15 11:58:44 +02:00
Mico Micic
f5372fb124
Add username when reading and subscribing streams
2024-09-06 13:54:56 +02:00
Mico Micic
4553419cc2
Support multiple notifications when sending snmo v2 traps
2024-09-06 13:29:12 +02:00
Mico Micic
302d61d1d1
Support leafref when reading smiv2:oid value
2024-09-06 13:26:10 +02:00
Olof hagsand
c1ea72bcb3
Restconf: Support for list of media in Accept:
...
Restconf: Better RFC compliance with Accept errors: 406 vs 415
Fixed: [RESTCONF exit on cert error + complex accept](https://github.com/clicon/clixon/issues/551 )
2024-09-02 16:37:11 +02:00
Olof hagsand
19c11eabb7
YANG mount refactoring: remove set functions
2024-09-01 16:45:39 +02:00
Olof hagsand
73183c4077
Typo for schema mtpoint refactoring for restconf fcgi
2024-08-30 10:36:36 +02:00
Olof hagsand
911594ead1
Fixed show mem total yang output
...
Fixed log message for mount error
2024-08-29 17:55:28 +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
Kristofer Hallin
f0eadc6e32
Fixed: [HOST_VENDOR must be defined before we use it]( https://github.com/clicon/clixon/issues/541 )
2024-08-20 09:37:54 +02:00
Kristofer Hallin
3b45cf9f4d
Fixed: [Handle missing SOCK_NONBLOCK on MacOS]( https://github.com/clicon/clixon/issues/540 )
2024-08-20 09:37:54 +02:00
Olof hagsand
74e8934636
New clixon-autocli@2024-08-01.yang revision: Added disable operation for module rules
2024-08-18 12:39:13 +02:00
Olof hagsand
1709537701
Replaced clixon_get_logflags() with clixon_logflags_get()
...
Added `clixon_logflags_set()`
2024-08-16 10:31:52 +02:00
Olof hagsand
c08dac2e5d
YANG optimization: move "when" and "mymodule" to external maps
2024-08-11 14:07:33 +02:00
Olof hagsand
781c9d9d27
YANG optimize, add orig pointer for derived trees
...
Skip some yang objects in derived trees
Add function to remove USES in augment/grouping trees
2024-08-09 12:03:14 +02:00
Mico Micic
a2fe24937b
Set pointer to NULL after free
2024-08-01 06:51:28 +02:00
Mico Micic
1a248b75e5
Fix memory leak
2024-08-01 06:51:28 +02:00
Mico Micic
8ee9b82152
Fix code formatting and naming
2024-08-01 06:51:28 +02:00
Mico Micic
48a15a87f1
Fix missing include
2024-08-01 06:51:28 +02:00
Mico Micic
4920b9d32b
Add support for snmp v2 traps
2024-08-01 06:51:28 +02:00
Olof hagsand
af29a0f974
Added YANG_SPEC_LINENR compile-time option
2024-07-31 14:33:31 +02:00
Olof hagsand
aa4feee03e
New: [CLI simple alias]( https://github.com/clicon/cligen/issues/112 )
2024-07-24 17:14:38 +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
3e07a1d279
configure version major/minor derived from git
...
Remove compile-time COMPAT_6_5 and IDENTITYREF_KLUDGE
2024-07-03 12:55:02 +02:00