예제 #1
0
 def __init__(self, noshutdown):
     threading.Thread.__init__(self)
     self.spot_creator = RequestSpotClient.RequestSpotClient(
         options.cnf_list == "test",
         noshutdown=noshutdown,
         count=options.client_count)
예제 #2
0
 def __init__(self):
     threading.Thread.__init__(self)
     self.spot_creator = RequestSpotClient.RequestSpotClient()
예제 #3
0
#!/usr/bin/env python
# -*- coding: utf-8 -*-

import RequestSpotClient

#create spot instance requests
spot_create = RequestSpotClient.RequestSpotClient(False)
spot_create.create_spots()
예제 #4
0
 def __init__(self):
     threading.Thread.__init__(self)
     self.spot_creator = RequestSpotClient.RequestSpotClient(
         options.git_rev, ("test" in options.cnf_list),
         noshutdown=options.noshutdown,
         count=options.client_count)