You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 19, 2023. It is now read-only.
We work actually on a script to clean some elements on a multi-domain SMC.
Today, this script works well when we do a loop on all domain to clean elements.
The script does a session login then clean elements and logout. This is for each domain.
However, do you think it's possible to use "multi-thread" to clean elements on all domain at the same time? This implies to have multiple sessions at a time.
The problem is how to have different sessions inside each thread?
I use this version of smc-python:
In [3]: smc.__version__
Out[3]: '0.7.0-b16'
Do you have any suggestion for this issue?
Kind regards,
Fabien
The text was updated successfully, but these errors were encountered:
Hi Fabien,
There is a "switch_domain" function of the session which allows you to have multiple sessions to different domains after logging in to the Shared domain that might be an option.
Have you tried to write a threaded function with your session login?
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi David,
We work actually on a script to clean some elements on a multi-domain SMC.
Today, this script works well when we do a loop on all domain to clean elements.
The script does a session login then clean elements and logout. This is for each domain.
However, do you think it's possible to use "multi-thread" to clean elements on all domain at the same time? This implies to have multiple sessions at a time.
The problem is how to have different sessions inside each thread?
I use this version of smc-python:
Do you have any suggestion for this issue?
Kind regards,
Fabien
The text was updated successfully, but these errors were encountered: