* Extended the Restconf implementation with a limited www-data
* This is an experimental implementation
* Added `www-data` feature and two new config options to clixon-config.yang:
* `CLICON_WWW_DATA_PATH`
* `CLICON_WWW_DATA_ROOT`
* The limited implemtation is as follows:
* path: Local files within `CLICON_WWW_DATA_ROOT`
* operation GET, HEAD, or OPTIONS
* query parameters not supported
* indata should be NULL (no write operations)
* Limited media: text/html, JavaScript, image, and css
* Authentication as restconf
Generic changes:
* Uniform path selection across fcgi, native http/1 + http/2
This commit is contained in:
parent
e1bec5f6dd
commit
76213057b6
16 changed files with 572 additions and 41 deletions
20
CHANGELOG.md
20
CHANGELOG.md
|
|
@ -39,14 +39,26 @@ Expected: May 2022
|
|||
|
||||
### New features
|
||||
|
||||
* Extended the Restconf implementation with a limited www-data
|
||||
* Added two new config options to clixon-config.yang:
|
||||
* `CLICON_WWW_DATA_PATH`
|
||||
* `CLICON_WWW_DATA_ROOT`
|
||||
* The limited implemtation is as follows:
|
||||
* path: Local files within `CLICON_WWW_DATA_ROOT`
|
||||
* operation GET, HEAD, or OPTIONS
|
||||
* query parameters not supported
|
||||
5. indata should be NULL (no write operations)
|
||||
6. Limited media: text/html, JavaScript, image, and css
|
||||
7. Authentication as restconf
|
||||
Generic changes:
|
||||
* Uniform path selection across fcgi, native http/1 + http/2
|
||||
|
||||
* Implementation of "chunked framing" according to RFC6242 for Netconf 1.1.
|
||||
* First hello is 1.0 EOM framing, then successing rpc is chunked framing
|
||||
* See
|
||||
* [Netconf framing](https://github.com/clicon/clixon/issues/50), and
|
||||
* [Clixon does not switch to chunked framing after NETCONF 1.1 is negotiated](https://github.com/clicon/clixon/issues/314)
|
||||
|
||||
###
|
||||
|
||||
### API changes on existing protocol/config features
|
||||
|
||||
Users may have to change how they access the system
|
||||
|
|
@ -56,6 +68,10 @@ Users may have to change how they access the system
|
|||
* New `clixon-config@2022-03-21.yang` revision
|
||||
* Added option:
|
||||
* `CLICON_NETCONF_BASE_CAPABILITY`
|
||||
* `CLICON_WWW_DATA_PATH`
|
||||
* `CLICON_WWW_DATA_ROOT`
|
||||
* Added feature: `www-data`
|
||||
|
||||
* Netconf data-not-unique info changed to return schema nodes instead of XML for RFC7950 compliance
|
||||
* CLI reconnects to backend if backend restarts with a warning
|
||||
* Note that edits to the candidate database or locks will be lost
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue