restconf; xmlput extended with api_path; xmldb_put_tree

This commit is contained in:
Olof hagsand 2016-09-20 21:51:08 +02:00
parent ebd53a34ee
commit b744a4ad8a
21 changed files with 732 additions and 1260 deletions

View file

@ -198,7 +198,6 @@ netconf_filter_xmldb(clicon_handle h,
return retval;
}
/*! Get configuration
* @param[in] h Clicon handle
* @param[in] xorig Sub-tree (under xorig) at <get-config>...</> level.
@ -441,6 +440,7 @@ netconf_edit_config(clicon_handle h,
xmlstr = cbuf_get(cbxml);
if (clicon_rpc_xmlput(h, target,
operation,
"", /* api-path */
xmlstr) < 0){
netconf_create_rpc_error(cb_err, xorig,
"access-denied",