'Delete zones from fabric.
Deletes zones in the active zone config.
:param zone_names: zoneNames separated by semicolon
:param activate: True/False
:param active_zone_set: the active zone set dict retrieved
from get_active_zone_set method'

def delete_zones(self, delete_zones_info, activate, active_zone_set=None):

    cfgs = self.cfgs
    zones = self.zones
    alias = self.alias
    qlps = self.qlps
    ifas = self.ifas
    active_cfg = self.active_cfg
    (zones, cfgs, active_cfg) = self.delete_zones_cfgs(cfgs, zones, delete_zones_info, active_cfg)
    data = self.form_zone_string(cfgs, active_cfg, zones, alias, qlps, ifas, activate)
    LOG.debug('Delete    zones:    final    zone    string    after    applying    to    the    switch:    %(zonestring)s', {'zonestring': data})
    (error_code, error_msg) = self.post_zone_data(data)
    if (error_code != '0'):
        msg = (_('Applying    the    zones    and    cfgs    to    the    switch    failed    (error    code=%(err_code)s    error    msg=%(err_msg)s.') % {'err_code': error_code, 'err_msg': error_msg})
        LOG.error(msg)
        raise exception.BrocadeZoningHttpException(reason=msg)
