Using pyVmomi
Joseph L. Casale
jcasale at activenetwerx.com
Wed Jul 23 16:14:20 EDT 2014
I am doing some scripting with pyVmomi under 2.6.8 so the code may
run directly on a vmware esxi server.
As the code is long running, it surpasses the authentication timeout. For
anyone familiar with this code and/or this style of programming, does anyone
have a recommendation for an elegant authentication retry scheme for objects
passed to code that will intermittently access the properties invoking calls.
I'd prefer to not litter try/except blocks around the usage of the objects if
possible.
Thanks!
jlc
More information about the Python-list
mailing list