* YANG Leafref feature update
* Closer adherence to RFC 7950. Some of this is changed behavior, some is new feature.
* Essentially instead of looking at the referring leaf, context is referred(target) node
* Validation uses referred node
* Validation changed to use type of referred node, instead of just "string"
* Auto-cli
* Changed to use type of referred node for typecheck
* Completion uses referred node
* Required instance / less strict validation
* New: Leafrefs must refer to existing data leaf ONLY IF YANG `required-instance` is true
* Previous: All leafrefs must refer to existing data leaf node
* Fixed: [Autocli does not offer completions for leafref to identityref #254](https://github.com/clicon/clixon/issues/254)
This commit is contained in:
parent
8db716ca07
commit
980718178a
18 changed files with 1151 additions and 115 deletions
16
CHANGELOG.md
16
CHANGELOG.md
|
|
@ -35,6 +35,17 @@ Expected: September, 2021
|
|||
|
||||
### New features
|
||||
|
||||
* YANG Leafref feature update
|
||||
* Closer adherence to RFC 7950. Some of this is changed behavior, some is new feature.
|
||||
* Essentially instead of looking at the referring leaf, context is referred(target) node
|
||||
* Validation uses referred node
|
||||
* Validation changed to use type of referred node, instead of just "string"
|
||||
* Auto-cli
|
||||
* Changed to use type of referred node for typecheck
|
||||
* Completion uses referred node
|
||||
* Required instance / less strict validation
|
||||
* New: Leafrefs must refer to existing data leaf ONLY IF YANG `required-instance` is true
|
||||
* Previous: All leafrefs must refer to existing data leaf node
|
||||
* Restconf YANG PATCH according to RFC 8072 (Work in progress)
|
||||
* Experimental: enable by setting YANG_PATCH in include/clixon_custom.h
|
||||
* Thanks to Alan Yaniger for providing this patch
|
||||
|
|
@ -43,6 +54,9 @@ Expected: September, 2021
|
|||
|
||||
Users may have to change how they access the system
|
||||
|
||||
* See changes under new feature "YANG leafref feature update"
|
||||
* Validation of referred node type (not referring)
|
||||
* Leafref required-instance must be set to make strict data-node check
|
||||
* Native Restconf is now default, not fcgi/nginx
|
||||
* That is, to configure with fcgi, you need to explicitly configure: `--with-restconf=fcgi`
|
||||
* New clixon-config@2021-07-11.yang revision
|
||||
|
|
@ -56,6 +70,8 @@ Users may have to change how they access the system
|
|||
|
||||
### Corrected Bugs
|
||||
|
||||
* Fixed: [Autocli does not offer completions for leafref to identityref #254](https://github.com/clicon/clixon/issues/254)
|
||||
* This is a part of YANG Leafref feature update
|
||||
* Fixed: [clixon_netconf errors on client XML Declaration with valid encoding spec](https://github.com/clicon/clixon/issues/250)
|
||||
* Fixed: Yang patterns: \n and other non-printable characters were broken
|
||||
* Example: Clixon interpereted them two characters: `\\ n` instead of ascii 10
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue