Esempio n. 1
0
 def __init__(self, name, dimage, **kwargs):
     self.datacenter = kwargs.get("datacenter")  # pointer to current DC
     self.flavor_name = kwargs.get("flavor_name")
     LOG.debug("Starting compute instance %r in data center %r" %
               (name, str(self.datacenter)))
     # call original Docker.__init__
     Docker.__init__(self, name, dimage, **kwargs)
Esempio n. 2
0
 def __init__(
         self, name, dimage, **kwargs):
     self.datacenter = kwargs.get("datacenter")  # pointer to current DC
     self.flavor_name = kwargs.get("flavor_name")
     LOG.debug("Starting compute instance %r in data center %r" % (name, str(self.datacenter)))
     # call original Docker.__init__
     Docker.__init__(self, name, dimage, **kwargs)