Olof hagsand
469bfdd3f2
7.2.0 changes
2024-10-28 13:53:39 +01:00
Olof hagsand
7aac03ba5e
Clixon 7.1.0
2024-07-03 09:21:23 +02:00
Olof hagsand
c353c6dcab
Debug: Added PARSE debug flag
2024-05-15 13:51:18 +02:00
Olof hagsand
af36838b4c
Changed -f /usr/local/etc/example.xml -> /usr/local/etc/clixon/example.xml everywhere
2024-05-07 12:27:51 +02:00
Olof hagsand
9826ac16ff
Formatting and CHANGELOG updates
2024-04-03 17:40:32 +02:00
Olof hagsand
fc73493881
Docs update, externalized cvec_concat_cb, example mem-leak
2023-08-15 20:45:15 +02: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
67e6e5e5e1
Preparations for Clixon 6.0 release
...
Test:
- netconf-monitoring using http-data disabled for restconf=fcgi
- updated cicd.sh script with detail and change logfile
2022-11-29 10:00:41 +01:00
Olof hagsand
d84c529ff1
[Code formatting: Change indentation style to space]( https://github.com/clicon/clixon/issues/379 )
...
* Applies to all c/h/y/l/sh files and .editorconfig
2022-10-27 14:21:17 +02:00
Olof hagsand
3a5d156690
Docs: C struct style
...
Tests: changed waiting->wait backend
2022-10-24 13:54:11 +02:00
Olof hagsand
f0def17b85
New pre version: 6.0.0.PRE
2022-09-26 12:37:52 +02:00
Olof hagsand
a3b94f4781
Beginning 5.9.0.PRE
2022-07-29 08:56:14 +02:00
Olof hagsand
84d88c8ad8
Restconf http-data server updates
...
Check data paths for .., ~ and soft links
Changed semantics of `CLICON_HTTP_DATA_PATH` and `_ROOT`
Change URI catch-all to 404 instead of 400
Fixed some memory leaks
2022-04-26 17:42:53 +02:00
Olof hagsand
12695c5d87
* Unit test ifdef for restconf http1 parser
...
* test: fix cli-union test
2022-02-17 09:16:01 +01:00
Olof hagsand
dadf4a778a
* HTTP/1 native parser as part of the RESTCONF client
...
* Fixed memory error in opendir/readdir in clicon_file_dirent
* Remove MAXPATH in parsers
* New string-del function
2022-02-08 16:59:08 +01:00
Olof hagsand
4102ca8a46
* configure --with-wwwdir=<dir> is removed
...
* test:
* new test_helloworld.sh smoketest added for testing basic functions
* stripped restconf fcgi default config
* added yang variable
2022-02-07 13:31:39 +01:00
Olof hagsand
1808015cf6
Fixed: SEGV when starting FCGI restconf program
...
- Reverted removal of CLICON_RESTCONF_PATH since it was used there
Misc fixes: initialized variables, docs, removed obsolete --enable-optyang
2021-12-30 16:35:54 +01:00
Olof hagsand
b70e22096e
- Pagination: enabled LIST_PAGINATION and remobved constant
...
- Changed logic on how to find clixon_restconf in pseudo plugin
- Removed ==== in constants to avoid conflict with git merge
- Remove assert
- Added fuzzing for netconf
2021-09-23 13:33:26 +02:00
Olof hagsand
0c7f2043f3
* Pagination according to new draft
...
* count/skip -> limit/offset
* ietf-yang-metadata RFC 7952 support, placeholder parsing and extension
2021-09-21 11:22:41 +02:00
Olof hagsand
8008fa01b7
Pagination draft
2021-09-21 11:22:40 +02:00
Olof hagsand
9fce0a1214
- IPC socket: add REUSEADDR when using IP (remove comment)
...
- Test: remove variable to use backend restconf, since that is the only option
- Docs C-style: describe return values better
2021-08-24 13:46:47 +02:00
Olof hagsand
8db716ca07
- Moved yang patch code to new files restconf_methods_patch.[ch]
...
- Started modifying patch code to style guidelines
- Made patch test independent of example
- Added developers style guidelines
2021-08-15 20:43:52 +02:00
Olof hagsand
7ebb538ebf
- Changed master to 5.2.0.PRE
...
- Modified Makefiles for static linkage and coverage
- test namespace abstractions
2021-04-17 15:23:10 +02:00
Olof hagsand
c7e7598e3b
* Updated "evhtp" restconf mode
...
* No reliance on libevent or libevhtp, but on libssl >= 1.1 directly
* Moved out event handling to clixon event handling
* Moved out all ssl calls to clixon
* New code MUST use libevhtp from https://github.com/clixon/clixon-libevhtp.git
* This does NOT work: libevhtp from https://github.com/criticalstack/libevhtp.git
2021-03-30 16:00:03 +02:00
Olof hagsand
709459304f
* Removed cli_debug(). Use cli_debug_backend() or cli_debug_restconf() instead.
...
* Created restconf debug rpc stub function and documented restconf debugging
2021-03-22 14:56:05 +01:00
Olof hagsand
7e9a207ab2
* New clixon-lib@2020-03-08.yang revision
...
* Changed: RPC process-control output to choice dependent on operation
2021-03-12 12:10:25 +01:00
Olof hagsand
e8cd587ded
Changed libevhtp tests to compile from clicon instead of criticalstack
2021-03-03 21:57:19 +01:00
Olof hagsand
b41f68b677
debug print of backend state, split test-stream into a netconf and restconf part, change restconf yang auth-type from leaf-list to leaf
2021-01-27 14:40:34 +01:00
Olof hagsand
22adc58187
* New process-control RPC feature in clixon-lib.yang to manage processes
...
* This is an alternative to manage a clixon daemon via sudtemd, containerd or other
* One important special case is starting the clixon-restconf daemon internally
* This is how it works:
* Register a process via `clixon_process_register(h, name, namespace, argv, argc)`
* Use process-control RPC defined in clixon-lib.yang to start/stop/restart or query status on that process
* Example code in the main example
2020-12-15 15:48:42 +01:00
Olof hagsand
1597bd303c
changed cligen repo from olofhagsand/cligen to clicon/cligen
2020-06-21 15:57:43 +02:00
Olof hagsand
ee29452d24
* New clixon-config@2020-06-17.yang revision
...
* Added CLICON_CLI_LINES_DEFAULT for setting window row size of raw terminals
* Added enum HIDE to CLICON_CLI_GENMODEL for auto-cli
2020-06-18 11:28:47 +02:00
Olof hagsand
94cf4a88b3
* Optimizations
...
* Reduced memory for attribute and body objects, see `XML_NEW_DIFFERENTIATE` compile-time option.
* Optimized cbuf handling in parsing and xml2cbuf functions.
* Optimized xml scanner to read strings rather than single chars
* Optimized xml_merge for the case of disjunct trees.
2020-04-28 22:31:58 +02:00
Olof hagsand
d36ab2e093
merge
2020-03-16 15:27:59 +01:00
Olof hagsand
0e94937ccf
Sanity check of mandatory key statement for Yang LISTs.
...
* If fails, exit with error message, eg: `Yang error: Sanity check failed: LIST vsDataContainer lacks key statement which MUST be present (See RFC 7950 Sec 7.8.2)`
* Can be disabled by setting `CLICON_CLICON_YANG_LIST_CHECK` to `false`
2020-03-09 15:48:33 +01:00
Olof hagsand
0f54899ae4
* Added option: CLICON_CLI_BUF_START and CLICON_CLI_BUF_THRESHOLD so you can change the start and
...
threshold of quadratic and linear growth of CLIgen buffers (cbuf:s)
* Memory footprint
* Do not autopopulate namespace cache, instead use on-demand, see `xml2ns()`.
* Set CBUF start level to 256 (`CLICON_CLI_BUF_START` option)
* Reduced xml child vector default size from 4 to 1 with quadratic growoth to 64K then linear
2020-03-04 11:27:43 +01:00
Olof hagsand
e8ae628d06
4.3.0 commit
2020-01-01 12:16:32 +01:00
Olof hagsand
728fe9c6ac
* Bumped version to 4.3.0.PRE
...
* Added wildcard `*` as a mode to `CLICON_MODE` in clispec files
* [Add missing includes](https://github.com/clicon/clixon/pulls )
2019-11-03 13:05:50 +01:00
User Olof
8c18f2a86d
Configure and test modification for better Freebsd port
2019-09-20 06:09:48 -10:00
Olof hagsand
aa14f8ac2c
RESTCONF PUT/POST -d {} media is enforced
2019-08-06 15:47:46 +02:00
Olof hagsand
e29cd7cfb9
* Optimized validation by making xml_diff work on raw cache tree (not copies)
...
* xmldb_get() removed unnecessary config option
2019-04-07 15:55:53 +02:00
Olof Hagsand
7590395fe3
Starting 3.10 release cycle
...
Moved docs to doc/
2019-02-22 14:45:37 +01:00