Skip to content

Instantly share code, notes, and snippets.

View jm66's full-sized avatar

JM Lopez jm66

  • University of Toronto
  • Toronto
View GitHub Profile
#!/usr/bin/python
import logging, sys, re, getpass, argparse, csv, time, Queue, threading, datetime
from pysphere import MORTypes, VIServer, VITask, VIProperty, VIMor, VIException
from pysphere.vi_virtual_machine import VIVirtualMachine
from threading import Thread
from time import sleep
from Queue import *
class ThreadCloneVM(threading.Thread):
def __init__(self, queue, target, *args):