Olof hagsand
816238029d
Fixed: [NETCONF error reply from failed leafref rquire-instance does not comply to RFC 7950]( https://github.com/clicon/clixon/issues/53
2024-07-22 09:18:27 +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
ad5312d824
Add ietf-system-capabilities and adapt all tests
2024-07-09 17:38:07 +02:00
Olof hagsand
28bede2c8f
Updated ietf-list-pagination YANGs to 2024-07-08
2024-07-09 10:17:13 +02:00
Olof hagsand
f6cafd76ed
Revert configure version change
2024-07-04 19:24:14 +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
Olof hagsand
7aac03ba5e
Clixon 7.1.0
2024-07-03 09:21:23 +02:00
Olof hagsand
58358fb6da
Misc formatting
2024-07-02 15:02:18 +02:00
Kristofer Hallin
f42a5ba87e
Changed indentation for documentation of cli_start_program.
2024-07-02 15:00:12 +02:00
Kristofer Hallin
703114f64b
Make cli_start_program handle arguments to scripts.
2024-07-02 15:00:12 +02:00
Olof hagsand
419e8312f9
Replaced YANG find share algorithm, use direct yanglib diff
2024-06-30 09:46:15 +02:00
Olof hagsand
803da7b76a
Loosen yang namespace sanity check to warning
2024-06-29 15:19:50 +02:00
Olof hagsand
68bf76201c
CLI show mem: show as MiB/GiB etc
2024-06-29 10:29:32 +02:00
Olof hagsand
c53877eb78
YANG namespace sanity check
...
YANG shared fix for empty revisions
2024-06-29 10:27:42 +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
78cd42c15d
Test: mem.sh rm files, rm commit tests from datastore_multi
2024-06-23 10:49:13 +02:00
Olof hagsand
5b8828c530
YANG ref count for shared fixed
2024-06-22 21:19:52 +02:00
Olof hagsand
5351ac0ffc
Test: vagrant update
2024-06-22 16:30:27 +02:00
Olof hagsand
a80c9b0f8e
Fix: wrong typedef
2024-06-20 21:58:35 +02:00
Olof hagsand
8a2217ff6d
Improved show memory
2024-06-20 21:58:35 +02:00
Хроменок Роман Владимирович
1f118ecacc
add comment for function
2024-06-20 14:03:38 +02:00
Хроменок Роман Владимирович
4632d13559
an empty line in the examples has been deleted
2024-06-20 14:03:38 +02:00
Хроменок Роман Владимирович
7253b8a07a
edit format in operator else
2024-06-20 14:03:38 +02:00
Хроменок Роман Владимирович
1f2313dadb
remove run functions in example.cli
2024-06-20 14:03:38 +02:00
Хроменок Роман Владимирович
0c6d9fc51c
fixed formatting for the cli_start_program function
2024-06-20 14:03:38 +02:00
Хроменок Роман Владимирович
d9f7669b9e
add find work dir in path script
2024-06-20 14:03:38 +02:00
Хроменок Роман Владимирович
be7c5eb7ca
change getpwuid on getpwuid_r
...
remove exit()
edit chdir in chold process
2024-06-20 14:03:38 +02:00
Хроменок Роман Владимирович
c831300a14
The description is aligned with the function
2024-06-20 14:03:38 +02:00
Хроменок Роман Владимирович
20750cb616
Added examples to the cli
...
The function has been renamed and has become more universal
Added error checking (incorrect input)
2024-06-20 14:03:38 +02:00
Хроменок Роман Владимирович
b81e18141d
Refactoring has been performed
...
Goto added
Added margins
Added comments
2024-06-20 14:03:38 +02:00
Хроменок Роман Владимирович
de820417d1
Added api
2024-06-20 14:03:38 +02:00
Хроменок Роман Владимирович
a6fb392365
Added examples of running scripts, and an example with an error
2024-06-20 14:03:38 +02:00
Хроменок Роман Владимирович
cc68426929
Added a feature that allows you to run python scripts from the cli without bash
2024-06-20 14:03:38 +02:00
Olof hagsand
43325ca2f8
Fixed: [Invalid api-path errors thrown when displayin qfx family device conf in CLI]( https://github.com/clicon/clixon-controller/issues/126 )
2024-06-19 14:49:22 +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
Corey Minyard
ec36f57c8d
plugin: Consolidate plugin initialization
...
There was duplicate code in the the plugins, consolidate allocating and
adding a plugin into one function and call it from elsewhere.
Signed-off-by: Corey Minyard <minyard@acm.org>
2024-06-11 16:45:49 +02:00
Corey Minyard
a84547ed0a
plugin: Remove pointless if statement
...
cp has to be valid here, no need to check it.
Signed-off-by: Corey Minyard <minyard@acm.org>
2024-06-11 16:45:49 +02:00
Corey Minyard
c94ca6179f
plugin: Always dlclose() a module with a handle
...
Even if it doesn't have a ca_exit function. Otherwise it will leave
modules lying around.
Signed-off-by: Corey Minyard <minyard@acm.org>
2024-06-11 16:45:49 +02:00
Olof hagsand
54ba56a41e
YANG schema shared fix
...
YANG_SCHEMA_MOUNT_YANG_LIB_FORCE caused equality to fail
2024-06-11 11:35:31 +02:00
Olof hagsand
ef89561215
CLI: improved show memory command
2024-06-08 14:51:36 +02:00
Olof hagsand
8d05432e98
CLI: Improved and renamed show statistics -> show memory command
...
Fixed shared yang-spec reference count
2024-06-07 13:57:41 +02:00
Olof hagsand
25e1bade8f
RESTCONF notification for HTTP/2 native mode
2024-06-06 17:04:53 +02:00
Olof hagsand
3579d98243
Refactoring of yang schema mount code
2024-06-02 12:16:00 +02:00
Olof hagsand
80d03fb5b0
test: adding correct x509 v3 CA cert
2024-05-31 08:48:00 +02:00
Olof hagsand
8098fb031f
Test: check openssl 3.3.0 for x509 v1
2024-05-28 19:44:38 +02:00