'Delete zones from fabric.
Method to delete the active zone config zones
params zone_names: zoneNames separated by semicolon
params activate: True/False'

def delete_zones(self, zone_names, activate, fabric_vsan, active_zone_set, zone_status):

    LOG.debug('zone_names    %s', zone_names)
    active_zoneset_name = active_zone_set[ZoneConstant.ACTIVE_ZONE_CONFIG]
    cmds = [['conf'], ['zoneset', 'name', active_zoneset_name, 'vsan', fabric_vsan]]
    try:
        for zone in set(zone_names.split(';')):
            cmds.append(['no', 'zone', 'name', zone])
        cmds.append(['end'])
        LOG.debug('Delete    zones:    Config    cmd    to    run:    %s', cmds)
        self._ssh_execute(cmds, True, 1)
        if activate:
            self.activate_zoneset(active_zoneset_name, fabric_vsan, zone_status)
        self._cfg_save()
    except Exception as e:
        msg = (_('Deleting    zones    failed:    (command=%(cmd)s    error=%(err)s).') % {'cmd': cmds, 'err': six.text_type(e)})
        LOG.error(msg)
        raise exception.CiscoZoningCliException(reason=msg)
