Olof hagsand
baa6e821a8
Fixed [yang in CLICON_YANG_MAIN_DIR can't import module's in CLICON_YANG_DIR recursively]( https://github.com/clicon/clixon/issues/286 )
...
Which was a PR for [Recursive search CLIXON_YANG_DIR](https://github.com/clicon/clixon/issues/284 )
2021-11-10 18:32:17 +01:00
Olof Hagsand
52e63a14d0
Merge pull request #285 from krihal/feature_recursive_search
...
Fix for issue #284 , do recursive lookup when reading YANG files from directory
2021-11-09 10:07:44 +01:00
Kristofer Hallin
02a5d97377
Only test recursive dirs for OpenConfig tests.
2021-11-09 09:23:43 +01:00
Kristofer Hallin
9ce20ea449
Resolved conflict.
2021-11-09 08:53:47 +01:00
Kristofer Hallin
057abe56e0
Fix for issue #284 , do recursive lookup when reading YANG files from directory.
2021-11-08 20:09:19 +01:00
Olof hagsand
a1fe080111
CLIgen mem leak, test augment
2021-11-05 14:43:28 +01:00
Olof Hagsand
9daa214b3e
Merge pull request #279 from dus7eh/fix_array_parsing
...
Append prefix when cloning json node
2021-11-05 14:32:14 +01:00
Olof hagsand
5297ebe3cb
Fixed: [cl:autocli-op hide has no effect in yang submodule]( https://github.com/clicon/clixon/issues/282 )
2021-11-04 16:25:25 +01:00
Olof hagsand
d335a72659
Use 5.3 cligen API
2021-10-31 16:36:29 +01:00
Olof hagsand
46647089ad
* Use new cligen cvv options.
...
* NOTE cannot use old CLIgen API
2021-10-31 15:48:01 +01:00
Olof hagsand
a52b92bd43
Added negative openconfig path compress test
2021-10-31 15:48:01 +01:00
Olof hagsand
39960cc205
fix: restore signal mask must not use 0
2021-10-31 15:48:01 +01:00
Olof hagsand
52744c9301
Revert "List pagination locking for state-data changes"
...
This reverts commit eea6d549f6 .
2021-10-30 15:49:23 +02:00
Olof hagsand
eea6d549f6
List pagination locking for state-data changes
...
Changed semantics of locking: instead of relying of locking running-db,
an automatic lock bound to a session is maintained. When the session closes
the lock is released.
2021-10-28 14:49:33 +02:00
Damian E
c1bcef37a7
Append prefix before cloning
2021-10-26 22:13:04 +02:00
Olof Hagsand
197fc16e69
Merge pull request #276 from krihal/feature_openconfig_compress
...
Feature: OpenConfig path compression
2021-10-22 09:32:44 +02:00
Olof Hagsand
9d8d9ac042
Merge branch 'master' into feature_openconfig_compress
2021-10-22 09:23:48 +02:00
Kristofer Hallin
b29387ce1d
Changes as per review.
2021-10-21 22:01:04 +02:00
Olof hagsand
063e6d6faa
Added "exist" parameter to yang_extension_value()
2021-10-21 21:45:14 +02:00
Olof hagsand
448aa4c994
include signal.h
2021-10-21 16:29:43 +02:00
Olof hagsand
5d29d8aff0
Plugin context check: check termios settings
2021-10-21 15:44:04 +02:00
Olof hagsand
7d7024d114
Plugin-context: moved status field from struct to function retval
2021-10-20 12:30:09 +02:00
Olof hagsand
c93348d8d5
Hide plugin check handler struct with a handler
2021-10-19 17:36:23 +02:00
Olof hagsand
764e9c628c
Added checks of changed handlers or blocked signal after plugin function calls
2021-10-19 16:42:34 +02:00
Kristofer Hallin
4ac1f0bad0
Implementation of OpenConfig path compression.
2021-10-15 13:55:31 +02:00
Kristofer Hallin
2f56357adb
Added enum OC_COMPRESS to Clixon yang.
2021-10-15 13:54:44 +02:00
Kristofer Hallin
aeff754110
Added tests for OpenConfig compress.
2021-10-15 13:46:38 +02:00
Olof hagsand
a242cf47bd
Pagination callback modifications: ensure xml is bound to yang, removed
...
code not used (eg remaining) and avoiding an extra xpath_vec call.
Moved debug prints from plugin-callback-one to plugin-callback-all
Fixed memory error in data-cvec access function
2021-10-14 14:06:01 +02:00
Olof hagsand
2bfb02de64
Typo: forgot clixon_util_dispatcher.c
2021-10-14 09:14:12 +02:00
Olof hagsand
93d1149925
Dispatcher test additions
2021-10-14 08:58:35 +02:00
Olof hagsand
d2d3454177
Dispatcher: modified key handling and added print function
...
also added dispatcher utility and test functions
2021-10-13 21:03:59 +02:00
Olof hagsand
e0ea85d6d5
Configure: changed --with-restconf= to say fcgi is NOT default
...
test_openconfig: Fixed upgrade of git added new dependencies (openconfig-platform)
2021-10-13 10:00:15 +02:00
Olof hagsand
daf37f6ad7
Fixed: [Doxygen - Typo in Input #275 ]( https://github.com/clicon/clixon/issues/275 )
2021-10-12 15:28:40 +02:00
Olof hagsand
a74fbdecdb
Dispatcher fixes: user callback arg, changing handler to NULL
2021-10-12 14:45:10 +02:00
Olof hagsand
fccf315235
Added .editorconfig, added licensing section to CONTRIB
2021-10-12 13:35:21 +02:00
Olof hagsand
5dd876e86f
Clixon data access functions use the generic ptr api
2021-10-11 10:57:28 +02:00
Olof hagsand
8469664075
Updated contribution and statedata callback docs
2021-10-10 18:48:10 +02:00
Olof hagsand
8ede8a87b2
Moved fuzz dir to test/fuzz
...
Extended contributing document to testing and licensing
2021-10-10 18:05:45 +02:00
Olof hagsand
edbbb43e1f
Removed remaining and replaced pagination-mode with locked parameter
...
Dispatcher: Added dispatcher_free(), fixed mem-leaks and malloc return
checks
2021-10-10 11:40:47 +02:00
Olof hagsand
ce06f25be7
Merge branch dispatcher and broke out pagination callbacks to use it
...
* Merge branch 'dcornejo-master'
* Broke out pagination callback API from state data callbacks
* New pagination callback API uses new dispatcher from netgate, thanks @dcornejo
* Register callback with: `clixon_pagination_cb_register()`
* Use accessor functions `pagination_offset()`, `pagination_limit()`, etc
* Reverted state data callback API to pre-5.3 (see C/CLI API changes below)
2021-10-08 15:19:37 +02:00
Olof hagsand
3459e6a34f
Merge branch 'master' of https://github.com/dcornejo/clixon into dcornejo-master
2021-10-07 09:17:11 +02:00
Olof hagsand
7631c3f0a3
coverage: added tests for all ints
2021-10-06 08:36:34 +02:00
Olof hagsand
26d37352f4
NETCONF hello error handling, changed YANG PATCH enabling, refactored static linking
...
NETCONF hello errors, such as wrong session-id, prefix, namespace terminates session
* Instead of returning an rpc-error reply
Changed YANG PATCH enabling:
* Now: `./configure --enable-yang-patch`
* Before: set YANG_PATCH constant in `include/clixon_custom.h`
Refactored Makefile for static linking
2021-10-05 12:04:53 +02:00
Olof hagsand
8f55b8490d
Refactored Makefile for static linking, removed netconf soap encoding
2021-10-04 20:06:11 +02:00
Olof hagsand
42e61f461c
- Memleaks in xpath parse error
...
- Static linkage cli fix (worked in 5.3.0 but restructuring broke it)
- Renamed all cligen_ph_active_get to cligen_pt_active_get
- Added AFL deferred init
- test_install.sh for static .a suffix
2021-10-03 18:49:25 +02:00
Olof hagsand
d175720b7e
Cleaned up Makefiles, especially LINKAGE=static vs dynamic
...
Added LIBSTATIC_SUFFIX instead of hardcoded .a
Changed building of build.c not to be triggered by install
2021-09-30 21:40:46 +02:00
Olof Hagsand
3ec0c42959
Merge pull request #271 from s-bauer/s-bauer-patch-4
...
Added --without-sigaction option
2021-09-30 16:30:20 +02:00
Olof Hagsand
820e2f0837
Merge pull request #270 from s-bauer/patch-3
...
Updated warnroot and checkroot Commands
2021-09-30 16:25:21 +02:00
Olof Hagsand
499e3f862a
Merge pull request #269 from s-bauer/s-bauer-patch-2
...
Fixed CFLags for debug mode
2021-09-30 16:24:44 +02:00
Olof Hagsand
5f741ce978
Merge pull request #267 from s-bauer/s-bauer-patch-1
...
Fixed SH_SUFFIX
2021-09-30 16:20:41 +02:00