'Recreates an export for a logical volume.'

def ensure_export(self, context, volume, volume_path):

    iscsi_name = ('%s%s' % (self.configuration.iscsi_target_prefix, volume['name']))
    chap_auth = self._get_target_chap_auth(context, volume)
    portals_config = self._get_portals_config()
    (iscsi_target, lun) = self._get_target_and_lun(context, volume)
    self.create_iscsi_target(iscsi_name, iscsi_target, lun, volume_path, chap_auth, check_exit_code=False, old_name=None, **portals_config)
