confirmed-commit fixes, tests

- fixed typo preventing evaluation of confirmed-commit logic in backend_startup
- fixed uninitialized variable warnings
- added details to CHANGELOG.MD
- added capabilities advertisement for confirmed-commit 1.0 and 1.1
- added xml hello message that uses only eom framing, for simplicity in asynch tests
- add stty restore after wait_restconf to fix console corruption in tests
- adjust test_confirmed_commit to drop perms and run as the invoking user.  This will require running user to have permissions on /usr/local/var/example
- added CLI tests
This commit is contained in:
Phil Heller 2022-10-03 21:42:01 -06:00
parent 284316b646
commit 8abcda6f85
9 changed files with 160 additions and 16 deletions

View file

@ -40,6 +40,19 @@
## 6.0.0
Expected: End of 2022
### New features
* Confirmed-commit capability
* Standards
* RFC 4741 "NETCONF Configuration Protocol": Section 8.4
* RFC 6241 "Network Configuration Protocol (NETCONF)": Section 8.4
* Features
* `:confirmed-commit:1.0` capability
* `:confirmed-commit:1.1` capability
* Added support for relevant arguments to CLI commit
* See [example_cli.cli](https://github.com/clicon/clixon/blob/master/example/main/example_cli.cli)
* See [Netconf Confirmed Commit Capability](https://github.com/clicon/clixon/issues/255)
### API changes on existing protocol/config features
Users may have to change how they access the system
@ -53,6 +66,8 @@ Developers may need to change their code
* C API changes
* Added `defaults` parameter to `clicon_rpc_get_pageable_list()`
* Added `confirmed`, `cancel`, `timeout`, `persist-id`, and `persist-id-val` parameters to
`cli_commit(...)`
### Minor features