def _set_zfcp_config_files(self, fcp, target_wwpn, target_lun):
        """rhel6 set WWPN and LUN in configuration files"""
        device = '0.0.%s' % fcp
        set_zfcp_conf = 'echo "%(device)s %(wwpn)s %(lun)s" >> /etc/zfcp.conf'\
                        % {'device': device, 'wwpn': target_wwpn,
                           'lun': target_lun}
        trigger_uevent = 'echo "add" >> /sys/bus/ccw/devices/%s/uevent\n'\
                         % device
        return '\n'.join((set_zfcp_conf,
                          trigger_uevent))
rhel6 set WWPN and LUN in configuration files