* Added defaults parameter to clicon_rpc_get_pageable_list()
* Test: Replaced bash coverage script with binary
This commit is contained in:
parent
e3f3d772c7
commit
bae92488e9
6 changed files with 30 additions and 6 deletions
|
|
@ -1187,7 +1187,8 @@ cli_pagination(clicon_handle h,
|
|||
for (i = 0;; i++){
|
||||
if (clicon_rpc_get_pageable_list(h, "running", xpath, nsc,
|
||||
CONTENT_ALL,
|
||||
-1, /* depth */
|
||||
-1, /* depth */
|
||||
NULL, /* with-default */
|
||||
limit*i, /* offset */
|
||||
limit, /* limit */
|
||||
NULL, NULL, NULL, /* nyi */
|
||||
|
|
|
|||
|
|
@ -486,7 +486,7 @@ api_data_pagination(clicon_handle h,
|
|||
sort = cvec_find_str(qvec, "sort-by");
|
||||
where = cvec_find_str(qvec, "where");
|
||||
if (clicon_rpc_get_pageable_list(h, "running", xpath, nsc, content,
|
||||
depth, offset, limit, direction, sort, where,
|
||||
depth, NULL, offset, limit, direction, sort, where,
|
||||
&xret) < 0){
|
||||
if (netconf_operation_failed_xml(&xerr, "protocol", clicon_err_reason) < 0)
|
||||
goto done;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue