Added basic rfc8527 support
Added basic rfc8527 support, but without support for: * ds:operational * with-origin * clixon/test/test_rfc8527_*.sh The current level of rfc8527 support is intended to allow commit operations on the 'candidate' datastore without rewriting the 'startup' datastore.
This commit is contained in:
parent
a1f54d71ac
commit
cd45f277ef
9 changed files with 152 additions and 47 deletions
|
|
@ -363,7 +363,8 @@ api_data_head(clicon_handle h,
|
|||
int pi,
|
||||
cvec *qvec,
|
||||
int pretty,
|
||||
restconf_media media_out)
|
||||
restconf_media media_out,
|
||||
ietf_ds_t ds)
|
||||
{
|
||||
return api_data_get2(h, req, api_path, pcvec, pi, qvec, pretty, media_out, 1);
|
||||
}
|
||||
|
|
@ -402,7 +403,8 @@ api_data_get(clicon_handle h,
|
|||
int pi,
|
||||
cvec *qvec,
|
||||
int pretty,
|
||||
restconf_media media_out)
|
||||
restconf_media media_out,
|
||||
ietf_ds_t ds)
|
||||
{
|
||||
return api_data_get2(h, req, api_path, pcvec, pi, qvec, pretty, media_out, 0);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue