Olof Hagsand
40f8dd129e
Merge pull request #427 from StasSt-siklu/master
...
Support union with are same subtypes with SNMP
2023-05-05 09:00:59 +02:00
Shmuel Hazan
8732d118dd
test_feature: add test for external features
2023-04-30 17:34:30 +03:00
Olof hagsand
5d1c6b5759
Preparations for 6.2.0
...
Openssl 3.0 and autoconf 2.71
2023-04-29 16:23:54 +02:00
Olof hagsand
4643540391
Test: re-fix magic line
2023-04-27 20:51:31 +02:00
Olof Hagsand
678d48a699
Test: magic line was not first in script and NULL in command substitution
2023-04-27 13:25:20 +00:00
stass
2b3dd6e133
Adapted to style guidelines
2023-04-27 15:50:37 +03:00
Olof hagsand
447b8eb1d3
test fix breaking actions. Minor doc changes
2023-04-25 16:22:25 +02:00
Olof hagsand
05da8ef3c1
Add mount-point aware code to cli_auto_show
...
Revert patch in xpath2canonical for mountpoints
2023-04-23 17:54:02 +02:00
Olof hagsand
e7c9f3d075
Unified netconf input function
...
First for external use, later internal
2023-04-20 21:28:01 +02:00
Olof hagsand
04d5f52d90
Revert Temporar fix in clixon_custom.h: XPATH_CANONICAL_SKIP_CHECK
2023-04-19 10:45:21 +02:00
Olof hagsand
f8324df917
Creator tagging for leafs, sort-modules: remove flag setting, yang_lib2yspec patch
2023-04-13 21:11:57 +02:00
Olof hagsand
6335f810d3
C-API: clixon_xml2file and clixon_xml2cbuf added prefix argument
...
Added in-mem xml diff function: `xml_tree_diff_print`
2023-04-12 10:44:58 +02:00
stass
cc951fc3be
Add union test
2023-04-02 14:59:49 +03:00
stass
ea40977382
fix test
2023-03-29 18:31:50 +03:00
stass
7c2ce8de65
fix test
2023-03-29 18:27:19 +03:00
stass
a5514e051c
fix test
2023-03-29 18:05:51 +03:00
stass
8f3290c41d
fix test
2023-03-29 17:26:25 +03:00
stass
dc14953a1f
fix test
2023-03-29 16:16:36 +03:00
stass
30db53a2a0
fix test
2023-03-29 15:56:38 +03:00
stass
efe9f66866
fix test
2023-03-29 15:36:34 +03:00
stass
13ebe05566
fix test
2023-03-29 15:18:11 +03:00
stass
8f240d1edd
fix test
2023-03-29 14:47:03 +03:00
stass
22b78f0fe6
fix test
2023-03-29 14:25:04 +03:00
stass
ba3558bd36
fix test
2023-03-28 19:17:46 +03:00
stass
c4ca4ed962
Fix test
2023-03-28 18:35:43 +03:00
stass
175f9a2136
Support union with are same subtypes with SNMP
2023-03-28 18:10:21 +03:00
Olof hagsand
2c104daee2
Since 6.1 RESTCONF PUTs have added clixon-lib namespace for attributes.
...
These empty namespaces are removed.
2023-03-27 12:57:24 +02:00
Olof hagsand
da2edceb7e
* Added new functions: xml_tree_equal and xpath2xml
...
* RFC 8528 yang schema mount-points:
* Made expand_dbvar and cli_dbxml mountpoint-aware (RFC 8528)
* autocli supportgenerate
* Made api_path2xml and xml2api_path mount-point-aware
* Temporar fix in clixon_custom.h: XPATH_CANONICAL_SKIP_CHECK
* `xml2xpath()`: Added `apostrophe` as 4th parameter, default 0
* removed extra assert.h includes
2023-03-23 22:16:33 +01:00
Olof hagsand
453e97ef6b
Test: removed http/1.0 test that seems to stop working in new curl version?
2023-03-04 10:58:29 +01:00
Olof hagsand
1f5df800bc
Restconf: Added fallback mechanism for non-ALPN HTTPS
...
* Set `CLICON_RESTCONF_NOALPN_DEFAULT` to `http/2` or `http/1.1`
* For http/1 or http/2 only, that will be the default if no ALPN is set.
2023-03-03 16:05:31 +01:00
Olof hagsand
72a4494b69
Clixon 6.1
...
Reviewed documentation, changelog, etc
2023-02-19 11:35:37 +01:00
Olof hagsand
994632daac
Test adaption to new openconfig version
...
Last minute changes to readme:s before 6.1.0
2023-02-18 12:10:58 +01:00
Olof hagsand
585e725aec
Yang schema mount: replaced config --enable-yang-schame-mount with runtime option CLICON_YANG_SCHEMA_MOUNT
...
Added config and validation-level as parameters to ca_yang_mount
2023-02-17 16:39:39 +01:00
Olof Hagsand
ecd60fbcfe
Merge pull request #418 from kernelkit/kkit
...
Misc. build fixes encountered when cross-compiling
2023-02-17 09:52:42 +01:00
Olof hagsand
204c704b3a
Test: moved unsetting of vars to endtest
2023-02-15 13:59:21 +01:00
Olof hagsand
585823a609
Memory leaks
2023-02-14 16:42:43 +01:00
Olof hagsand
0ef0970c04
Implemented: [Request to suppress auto-completion for "deprecated" / "obsolete" status and warn the user.]( https://github.com/clicon/clixon/issues/410 )
2023-02-14 16:42:43 +01:00
Joachim Wiberg
e36a4e3016
test: temporary fixes DROP BE BEFORE PUSH
...
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
2023-02-14 15:39:23 +01:00
Olof Hagsand
fcf9a8b0b0
C-API: Exposed diff function
...
Test: double leaf validate test
2023-02-13 20:23:18 +01:00
Olof hagsand
d358387d39
* Fixed: [State XML validation error when CLICON_MODULE_LIBRARY_RFC7895=true and ietf-yang-libra$
...
* Removed obsolete option: `CLICON_MODULE_LIBRARY_RFC7895'
* Obsolete config options given in the confi file are considered an error
* Added section in CONTRIBUTING relating to optimzation
* Changed reset merge to implicit default values.
* This avoids a potential overwriting of explicitly set default values in the existing config
* Adapted some code to [Make cligen_* functions const ](https://github.com/clicon/cligen/pull/83 )
* Test: fixed test for * Fixed: [datamodel tree generated from basemodel tree is not proper when a list has more than one key and key is of enum type](https://github.com/clicon/clixon/issues/417 )
2023-02-12 16:19:27 +01:00
Olof hagsand
8f7ae33262
Yang schema mount: repaired yanglib statedata mountpoint
...
Example: patch to fix "dual xpath" issue
2023-02-08 15:00:07 +01:00
Olof hagsand
56f15aeefd
SNMP mem tests: increase timeout for walk and table, use single snmp tools macro
2023-02-06 12:46:55 +01:00
stass
3436a19ee4
Scalars do not have a .0 suffix
...
See https://github.com/clicon/clixon/issues/401
2023-02-06 10:47:03 +01:00
Olof Hagsand
48a0fb9968
Sanity checks for incoming internal netconf
...
Hex debug of messages
2023-02-05 14:14:57 +01:00
Olof hagsand
6681eb99d3
Netconf monitoring statistics frm RFC 6022
2023-02-04 17:13:45 +01:00
Olof hagsand
a203f6cde7
Updated extraxml reset callback example and added a regression test
2023-02-02 12:17:52 +01:00
Olof hagsand
6d82c70e26
Investigation of https://github.com/clicon/clixon/issues/414
...
New tests and help texts
2023-02-02 07:32:27 +01:00
Olof hagsand
91034e5361
YANG schema mount, added configure option --enable-yang-schema-mount
2023-01-30 11:49:11 +01:00
Olof Hagsand
a8e13047fc
* YANG schema mount RFC 8528, state data
2023-01-27 15:11:08 +01:00
Olof hagsand
da9bfcbb53
* Changed debug levels in clicon_debug() to be based on maskable flags
...
* Added flag names: `CLIXON_DBG_*`
* Added maskable flags that can be combined when debugging:
* `DEFAULT` = 1: Basic debug message, espcially initialization
* `MSG` = 2: Input and output packets, read datastore
* `DETAIL` = 4: Details: message dump in hex, xpath parse trees, etc
* `EXTRA` = 8: Extra detailed logs
* Test: some errors in yang-lib where content-id was in wrong place
2023-01-27 14:56:58 +01:00