Olof hagsand
710fc76887
* Restconf authentication callback (ca_auth) signature changed
...
* Not backward compatible: All uses of the ca-auth callback in restconf plugins must be changed
* New version is: `int ca_auth(h, req, auth_type, authp, userp)`
* where `auth_type` is the requested authentication-type (none, client-cert or user-defined)
* `authp` is the returned authentication flag
* `userp` is the returned associated authenticated user
* and the return value is three-valued: -1: Error, 0: ignored, 1: OK
* For more info see [clixon-docs](https://clixon-docs.readthedocs.io/en/latest/restconf.html )
* New clixon-restconf@2020-12-30.yang revision
2021-02-09 21:26:35 +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
8540820698
* New clixon-lib@2020-12-08.yang revision
...
* Added: autocli-op extension (see new features)
* Added: rpc process-control for process/daemon management
* Added enable flag and removed presence in clixon-restconf
2020-12-13 22:19:25 +01:00
Olof hagsand
0b948248e4
* Reworked evhtp restconf config to only use clixon-restconf.yang and marked local restconf options as obsolete
...
* Extended clicon-config with clixon-restconf for local config
* Removed obsolete CLICON_TRANSACTION_MOD
2020-11-21 13:16:29 +01:00
Olof hagsand
c0ad6d3f8f
remove global ssl-enable in clixon-restconf.yang
2020-11-18 21:52:47 +01:00
Olof hagsand
daaf3f17df
revert clixon-err on XML
...
restconf backend config
2020-11-18 13:57:25 +01:00
Olof hagsand
4eee00101c
Disabling IPv6 per default due to failing docker tests
2020-11-15 18:16:06 +01:00
Olof hagsand
6eb18da5e9
* Multi-socket feature (eg IPv4/IPv6 http/https) to restconf evhtp
...
* Added by-ref parameter to `ys_cv_validate()` returning which sub-yang spec was validated in a union.
2020-11-15 12:34:40 +01:00
Olof hagsand
6ecb0d5232
tests for restconf backend configure
...
rm client-cert-ca
2020-11-06 11:41:59 +01:00
Olof hagsand
0e4df0e8fc
Added options for Restconf evhtp setting default bind socket address and ports CLICON_RESTCONF_IPV4_ADDR, CLICON_RESTCONF_IPV6_ADDR, CLICON_RESTCONF_HTTP_PORT, CLICON_RESTCONF_HTTPS_PORT
2020-08-21 13:13:20 +02:00
Olof hagsand
adc6edf545
* New clixon-config@2020-08-17.yang revision
...
* Added `CLICON_RESTCONF_ADDRESS` for setting evhtp bind address
2020-08-17 14:48:40 +02:00
Olof hagsand
3bb6947d58
test dont force https
2020-07-07 16:07:29 +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
Olof hagsand
5dc2a6387d
unified curl test options
2020-07-03 14:13:15 +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