RE: Using pyVmomi

2014-07-24 Thread Joseph L. Casale
> You could: > >- have a single point of entry that can check and, if necessary, revalidate > >- create a helper that checks and, if necessary, revalidate, which is then > called where ever needed > >- create a decorator that does the above for each function that needs it Hi Et

Re: Using pyVmomi

2014-07-24 Thread Ethan Furman
On 07/23/2014 01:14 PM, Joseph L. Casale wrote: 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, doe

Using pyVmomi

2014-07-23 Thread Joseph L. Casale
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 authe