Olof hagsand
1580aa7a2c
Add -lm for static compile + minor test changes for 7.3
2025-01-28 09:13:18 +01:00
Philip Prindeville
951aa71d56
Make /var directory tree owned by $CLICON_GROUP
2023-10-03 23:41:47 +02: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
dd2ac56af8
Module state upgrade: RFC7895 to RFC 8525
...
Changes to clixon-config:
* Added option: 'CLICON_YANG_LIBRARY`
* Changed default value: `CLICON_MODULE_LIBRARY_RFC7895` to false
Datastore modstate is backward compatible
Tests upgraded to RFC8525
2022-03-07 10:56:54 +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
940f4d4fb9
* Added ordering sanity check for YANG modules and sub-modules
...
* If YANG sub-statements are placed in wrong order, clixon fails on error.
2021-06-24 21:56:36 +02:00
Olof hagsand
9edf380f6a
- Link utils statically if LINKAGE=static
...
- Fix event exit bug (set to new counter, dont increment)
- Changed default CI to be restconf=native instead of fcgi1~
- Tests:
- Change to same wait backend and restconf commands
- Change default restconf protocol from http to https
2021-06-18 22:50:30 +02:00
Olof hagsand
5af7ea9b38
* Added check of old config in upgrade scenarios.
...
* Added to clixon-config.yang `CLICON_XMLDB_UPGRADE_CHECKOLD`, set to false to keep less strict check
2021-04-12 21:03:20 +02:00
Olof hagsand
b7991d9b39
* Made a separate Clixon datastore XML/JSON top-level symbol
...
* Replaces the hardcoded "config" keyword.
* Implemented by a compile-time option called `DATASTORE_TOP_SYMBOL` option in clixon_custom.h
* Tests: added endtest to all tests. Removed all premature exits if BE=0
2021-03-05 14:15:15 +01:00
Olof hagsand
1f0147f996
removed unnecessary strerror() in clixon_err() calls; added 'function' keyword in all function declarations in the test scripts
2021-02-04 12:04:48 +01:00
Olof hagsand
83203623cd
Optimized get config xpath of large lists, such as a[x=1000] in a list of 100000s a:s.
2020-07-23 20:41:32 +02:00
Olof hagsand
7ad07e1915
clear test dir
2020-06-27 13:33:13 +02:00
Olof hagsand
c2e459e8bb
Three errors in new upgrade code: DEL didnt work, empty config did now work, neither did no yang files in a dir
2020-06-27 13:02:04 +02:00