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