delucchi...@gmail.com
unread,May 7, 2015, 5:03:18 AM5/7/15Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Sign in to report message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to libne...@googlegroups.com, delucchi...@gmail.com
Hi Michal,
I have been busy for a long time, but now I'm working again on libnetconf. Unfortunately I'm not able to solve my problem. I follow your precious advises, but nothing happens. The configuration in the datastore is the same after the edit-config message.
It is possible that my problem is related to the edit-config parameters not properly set?
Below there is my code:
nc_rpc_editconfig(NC_DATASTORE_CANDIDATE, NC_DATASTORE_CONFIG, NC_EDIT_DEFOP_MERGE, NC_EDIT_ERROPT_CONT, NC_EDIT_TESTOPT_SET, s.c_str());
in this case nothing happens.
Instead in this case (changing NC_EDIT_DEFOP_MERGE to NC_EDIT_DEFOP_REPLACE)
nc_rpc_editconfig(NC_DATASTORE_CANDIDATE, NC_DATASTORE_CONFIG, NC_EDIT_DEFOP_REPLACE, NC_EDIT_ERROPT_CONT, NC_EDIT_TESTOPT_SET, s.c_str());
All the candidate database is overwritten.
Any other advises?
Thank you again,
Stefano