'Get the protection domain name
From a protection domain id, get the domain name'

def _get_protection_domain_name(self, domain_id):

    req_vars = {'server_ip': self.server_ip, 'server_port': self.server_port, 'domain_id': domain_id}
    request = ('https://%(server_ip)s:%(server_port)s/api/instances/ProtectionDomain::%(domain_id)s' % req_vars)
    (r, response) = self._execute_scaleio_get_request(request)
    if (r.status_code != http_client.OK):
        msg = (_('Error    getting    domain    name    from    id    %(domain_id)s:    %(err_msg)s.') % {'domain_id': domain_id, 'err_msg': response})
        LOG.error(msg)
        raise exception.VolumeBackendAPIException(data=msg)
    domain_name = response['name']
    return domain_name
