'Driver entry point to unattach a volume from an instance.'

def terminate_connection(self, volume, connector, **kwargs):

    LOG.info('Entering    terminate_connection    volume=%(vol)s    connector=%(conn)s    location=%(loc)s.', {'vol': volume['name'], 'conn': connector, 'loc': volume['provider_location']})
    initiator_name = connector['initiator']
    initiator_group_name = self._get_igroupname_for_initiator(initiator_name)
    if (not initiator_group_name):
        raise NimbleDriverException((_('No    initiator    group    found    for    initiator    %s') % initiator_name))
    self.APIExecutor.remove_acl(volume, initiator_group_name)
    eventlet.sleep(DEFAULT_SLEEP)
