CESNET / libnetconf

C NETCONF library
Other
113 stars 83 forks source link

Why libnetconf does not follow the configuration handling as per user given order in the request #219

Closed ghost closed 8 years ago

ghost commented 8 years ago

Hi,

It is observed that libnetconf always follow its internal order while executing config request. If user has given edit request for multiple data models and it has inter-dependency among the models, it becomes a problem.

Is there any way user can execute the edit request in same the sequence as given in edit-request.

Thanks.

rkrejci commented 8 years ago

this is not the issue of the order of executing changes, but the issues of the dependency among the models. libnetconf is not ready e.g. for leafrefs from one model to another. This is a design issue because libnetconf stores data of each model in a separated files and handles this data separately.

The issue is solved in the new generation of our NETCONF tools - libyang, libnetconf2 and Netopeer2.

ghost commented 8 years ago

Thanks.