Forum Discussion
Attish1980
Nimbostratus
Jun 06, 2019Timeout settings for ManagementRoot in Python SDK
I am using a python script with F5 SDK to log into over 200 LTMs to carry out certain tasks. Now, certain F5 LTMs might get removed over time and when it happens, my script stalls and is waiting for a long time ( I believe the default timeout is 30s) before it jumps to the next one on the list.
I have tried to add the timeout keyword under ManagementRoot(), but it does not seem to take effect.
mgmt = ManagementRoot("bigip.example.com", "admin", "somepassword", timeout=10)
My question is whether someone has managed to change the timeout for the connection settings and if yes, how.
Thanks for any assistance!
- Leonardo_Souza
Cirrocumulus
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects