

def call(self, creds, xrn, cert=None):
    valid_creds = self.api.auth.checkCredentials(creds, 'update')
    (hrn, type) = urn_to_hrn(xrn)
    self.api.auth.verify_object_permission(hrn)
    origin_hrn = Credential(string=valid_creds[0]).get_gid_caller().get_hrn()
    origin_hrn = Credential(string=valid_creds[0]).get_gid_caller().get_hrn()
    self.api.logger.info(('interface: %s\tcaller-hrn: %s\ttarget-hrn: %s\tmethod-name: %s' % (self.api.interface, origin_hrn, xrn, self.name)))
    return self.api.manager.CreateGid(self.api, xrn, cert)

dataset/ETHPy150Open fp7-ofelia/ocf/ofam/src/src/foam/sfa/methods/CreateGid.py CreateGid.call/original