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
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))