'Exports the snapshot.'

def iscsi_do_export_snapshot(self, context, snapshot, connector):

    msgparm = ('Snapshot    ID    =    %s' % snapshot.id)
    try:
        ret = self._iscsi_do_export_snapshot(context, snapshot, connector, self._properties['diskarray_name'])
        LOG.info('Create    Export    Snapshot    (%s)', msgparm)
        return ret
    except exception.CinderException as e:
        with excutils.save_and_reraise_exception():
            LOG.warning('Failed    to    Create    Export    Snapshot    (%(msgparm)s)    (%(exception)s)', {'msgparm': msgparm, 'exception': e})
