-
Notifications
You must be signed in to change notification settings - Fork 22
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
About test_subs_oper.py #26
Comments
I think you need to completely disconnect all sysrepo applications and
reconnect once to apply all datastore schema changes.
See https://netopeer.liberouter.org/doc/sysrepo/master/html/schema.html
for more details.
|
Hi rjarry, Doesn't "conn.disconnect()" fully disconnect sysrepo applications? I don't know why it works if I move "conn.disconnect()" in front of "conn.install_module()"
Also, is there a function to show all connected sysrepo applications? Thank you! |
There is an API function to get the number of current connections but I did not make it available in the python bindings. I do not think there is any API to show all connected processes. Maybe you can list processes that have open files in lsof /dev/shm/sr* |
Hi rjarry,
I tried to modify one of your tests as below. However, it seems that this can only run successfully for one time. When I ran it for the second time, it gave me "Module "sysrepo-example" was not found in sysrepo"
Do you know where I went wrong? Thank you!
The text was updated successfully, but these errors were encountered: