-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
set_item on operational datastore #13
Comments
Hi @zfvs I never tried editing data in the operational datastore but I think there are some pitfalls. @michalvasko do you see any issue here? |
The use-case seems fine to me briefly looking at it but the error seems like an invalid one. What sysrepo and libyang is being used, to the bindings have any requirements in this respect? |
Only the libyang bindings have versions requirements: https://github.com/CESNET/libyang-python/blob/v1.7.0/cffi/source.c#L8-L13 But for sysrepo (1.x) there is no version info available in the headers in order to fail at build time. As a workaround, I could add SO version requirements at link time. |
Yes, fixed in v2. I was just asking, @zfvs what version of sysrepo are you then using? |
I was using the netopeer2 docker image available here: https://hub.docker.com/r/sysrepo/sysrepo-netopeer2. There's sysrepo v1.4.103. |
That may easily be the problem, you should use at least 1.4.140. |
Did you think about updating the docker image in the docker hub? |
I am not the maintainer so I cannot tell you but you should be gradually switching to sysrepo v2, anyway. |
I'd like to but there's a lack of sysrepo and libyang bindings for v2. Do you maybe know if the work on those bindings is in progress? |
That is a question back to @rjarry but AFAIK they are in progress, as you said. |
Yes I am working on v2 support on my free time, which is limited, unfortunately :) |
I am facing the same issue with sysrepo v2.2.72 |
Hi,
I try to modify data in operational datastore and encounter issues. My modifications are applied but getting data fails after this operation. The modified module comes from running datastore.
I execute the following steps:
Is modifying items in operational datastore supported?
The text was updated successfully, but these errors were encountered: