Olof hagsand
36576143b5
Revised CLICON_YANG_UNKNOWN_ANYDATA patch: dont allow new nodes after initial startup
2020-07-23 17:04:12 +02:00
Olof hagsand
9e2bdb8c8e
split test_perf into test_perf_netconf, _restconf and _cli
2020-07-18 15:52:12 +02:00
Olof hagsand
316cad35ff
Another CLICON_YANG_UNKNOWN_ANYDATA issue: top-level unknown namespace caused segv in backend
2020-07-17 19:03:40 +02:00
Olof hagsand
490f7d8023
Two CLICON_YANG_UNKNOWN_ANYDATA issues: segv when exiting cli and diff errors on commit
2020-07-17 14:18:09 +02:00
Olof hagsand
62446db752
Fixed CLICON_YANG_UNKNOWN_ANYDATA for config and state data. This feature introduced in 4.5 didnt really work.
2020-07-14 19:56:42 +02:00
Olof hagsand
863ebd3f93
small changes in error messages and code documentation
2020-07-14 19:46:12 +02:00
Olof hagsand
94ad44a2ea
Merge branch 'master' of https://github.com/clicon/clixon
2020-07-12 10:59:23 +02:00
Olof hagsand
25245a12d2
code documentation
2020-07-12 10:59:12 +02:00
Olof Hagsand
94bf490a79
made c-compiler configurable, and added /usr/local as include path for cc and c++ tests
2020-07-10 13:22:45 +00:00
Olof Hagsand
53deedc242
vagrant tests eg with evhtp
2020-07-10 12:33:30 +00:00
Olof Hagsand
efc0228f99
test time function exists
2020-07-09 10:15:45 +00:00
Olof Hagsand
2d97c1e2c6
handle sanity check removed that triggered c++ linkage errors
2020-07-09 08:07:41 +00:00
Olof hagsand
b655d56fb4
new travis
2020-07-07 22:59:56 +02:00
Olof hagsand
9470caa1c0
new travis
2020-07-07 22:57:21 +02:00
Olof hagsand
931988763b
new travis
2020-07-07 22:55:11 +02:00
Olof hagsand
f11e9f7388
new travis
2020-07-07 22:50:41 +02:00
Olof hagsand
81b92ac8b2
new travis
2020-07-07 22:48:12 +02:00
Olof hagsand
c805c7d04b
new travis
2020-07-07 22:44:32 +02:00
Olof hagsand
2f6458dd41
new travis
2020-07-07 22:27:47 +02:00
Olof hagsand
8db65c59ea
new travis
2020-07-07 22:06:34 +02:00
Olof hagsand
2a9fb60267
new travis
2020-07-07 22:01:20 +02:00
Olof hagsand
e420f4911f
new travis
2020-07-07 21:55:05 +02:00
Olof hagsand
6504fe4e12
new travis
2020-07-07 21:50:04 +02:00
Olof hagsand
e5f8d43979
multiple travis jobs
2020-07-07 21:34:21 +02:00
Olof hagsand
e56004352c
extended c++ test with runtime rpc test
2020-07-07 17:28:31 +02:00
Olof Hagsand
4c85fad32f
Merge pull request #120 from shmuelnatan/my/test
...
Add a test_c++.sh for c++ compiling with c++ code and with 32 bit sytems.
2020-07-07 17:10:37 +02:00
Olof hagsand
853e6734a5
stream curl cant handle -Si flags
2020-07-07 16:53:54 +02:00
Olof hagsand
3bb6947d58
test dont force https
2020-07-07 16:07:29 +02:00
Olof hagsand
a5bf3d57ce
tolerate errors in docker startscripts
2020-07-07 15:51:42 +02:00
Olof hagsand
5464eec540
Added docker support for three restconf modes: nginx/fcgi(default); evhtp ; and none.
2020-07-07 13:26:38 +02:00
shmuels
d6580221d3
Add a test_c++.sh for c++ compiling with c++ code and with 32 bit systems.
2020-07-05 18:20:18 +03:00
Olof hagsand
5dc2a6387d
unified curl test options
2020-07-03 14:13:15 +02:00
Olof hagsand
593ed2ef3b
Added const char * in multiple places
2020-07-02 19:25:48 +02:00
Olof hagsand
0a985e6618
skip c++ tests in travis
2020-07-02 18:14:59 +02:00
Olof hagsand
e33327bce9
Merge branch 'shmuelnatan-mycpp/new-test'
2020-07-02 17:57:09 +02:00
Olof hagsand
639af03edc
autoconf c++ compiler
2020-07-02 17:56:52 +02:00
Olof hagsand
839dc3231d
Merge branch 'mycpp/new-test' of https://github.com/shmuelnatan/clixon into shmuelnatan-mycpp/new-test
2020-07-02 17:20:38 +02:00
shmuels
b91d48e53b
Changed code so that it will be compatible with c++.
...
1. Added #ifdef extern "C" to public header files.
2. Changed variables that are key words in c++, to different names (like ns instead of namespace).
3. Add a test_c++.sh for c++ compiling.
2020-07-02 15:44:42 +03:00
shmuels
11836151d4
Changed code so that it will be compatible with c++.
...
1. Added #ifdef extern "C" to public header files.
2. Changed variables that are key words in c++, to different names (like ns instead of namespace).
3. Add a test_c++.sh for c++ compiling.
2020-07-02 15:31:22 +03:00
shmuels
58ea4eba27
Changed code so that it will be compatible with c++.
...
1. Added #ifdef extern "C" to public header files.
2. Changed variables that are key words in c++, to different names (like ns instead of namespace).
3. Changed char* to const char* for constant strings.
2020-07-02 15:00:53 +03:00
Olof hagsand
99b01040a7
* Fixed: [Double free when using libxml2 as regex engine #117 ]( https://github.com/clicon/clixon/issues/117 )
...
* added libxml2 support in test_pattern.sh when libxml2 is configured
2020-07-02 13:26:15 +02:00
Olof hagsand
eda4a58ebf
added c++ configure test
2020-07-01 22:36:06 +02:00
Olof hagsand
c049a397b0
Fixed ssl client certs for evhtp.
...
* Added SSL cert info as options: CLICON_SSL_SERVER_CERT, CLICON_SSL_SERVER_KEY, CLICON_SSL_CA_CERT
Added config.sh for testing for autotools
2020-07-01 15:11:22 +02:00
Olof hagsand
9c82e97072
Added http support for evhtp (not only https)
2020-06-29 14:41:08 +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
Olof hagsand
8f1de15ad3
Changed module-specific upgrade API, not backward compatible. The API has been simplified which means more has to be done by the programmer.
...
* In summary, a user registers an upgrade callback per module. The callback is called at startup if the module is added, has been removed or if the revision on file is different from the one in the system.
* The register function has removed `from` and `rev` parameters: `upgrade_callback_register(h, cb, namespace, arg)`
* The callback function has a new `op` parameter with possible values: `XML_FLAG_ADD`, `XML_FLAG_CHANGE` or `XML_FLAG_CHANGE`: `clicon_upgrade_cb(h, xn, ns, op, from, to, arg, cbret)`
2020-06-26 14:39:04 +02:00
Olof hagsand
e2b3cdb3f6
Moved restconf_stream.c -> restconf_stream_fcgi.c, made some generaizations and documented what was hardcoded to FCGI
2020-06-23 15:00:41 +02:00
Olof hagsand
73bbcded87
Added restconf handle specialization to implement restconf parameters
2020-06-22 12:47:43 +02:00
Olof hagsand
1597bd303c
changed cligen repo from olofhagsand/cligen to clicon/cligen
2020-06-21 15:57:43 +02:00