* List-pagination: Adhere to ietf-draft: Removed list-pagination "presence"

* Remove default expansion in NETCONF client
* C-API: Added `expanddefault` parameter to `xml_yang_validate_rpc()`
This commit is contained in:
Olof hagsand 2022-11-02 11:15:55 +01:00
parent c2faf8b96c
commit 05cdbf5c4f
9 changed files with 125 additions and 72 deletions

View file

@ -223,7 +223,7 @@ netconf_rpc_message(clicon_handle h,
if ((ret = xml_bind_yang_rpc(xrpc, yspec, &xret)) < 0)
goto done;
if (ret > 0 &&
(ret = xml_yang_validate_rpc(h, xrpc, &xret)) < 0)
(ret = xml_yang_validate_rpc(h, xrpc, 0, &xret)) < 0)
goto done;
if (ret == 0){
if (netconf_add_request_attr(xrpc, xret) < 0)