Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #75097 > unrolled thread

Using pyVmomi

Started by"Joseph L. Casale" <jcasale@activenetwerx.com>
First post2014-07-23 20:14 +0000
Last post2014-07-23 20:14 +0000
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python


Contents

  Using pyVmomi "Joseph L. Casale" <jcasale@activenetwerx.com> - 2014-07-23 20:14 +0000

#75097 — Using pyVmomi

From"Joseph L. Casale" <jcasale@activenetwerx.com>
Date2014-07-23 20:14 +0000
SubjectUsing pyVmomi
Message-ID<mailman.12248.1406146538.18130.python-list@python.org>
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

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web