* 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

@ -806,7 +806,7 @@ api_operations_post(clicon_handle h,
goto done;
goto ok;
}
if ((ret = xml_yang_validate_rpc(h, xtop, &xerr)) < 0)
if ((ret = xml_yang_validate_rpc(h, xtop, 0, &xerr)) < 0)
goto done;
if (ret == 0){
if (api_return_err0(h, req, xerr, pretty, media_out, 0) < 0)