Esempio n. 1
0
 def gce_svc(self):
     if self._gce_svc is None:
         self._gce_svc = gceutils.get_gce_service(self.gce_svc_key)
     return self._gce_svc
Esempio n. 2
0
 def initialize(self):
     self.gce_svc = gceutils.get_gce_service(self.gce_svc_key)
     LOG.info(
         _LI("GCE Mechanism driver init with %s project, %s region") %
         (self.gce_project, self.gce_region))